[Camps-users] refresh-camp --files and process_copy_paths
David Christensen
david at endpoint.com
Fri Sep 18 00:08:42 UTC 2009
On Sep 17, 2009, at 6:50 PM, Jon Jensen wrote:
> On Thu, 17 Sep 2009, David Christensen wrote:
>
>> That's fine and makes sense to me; in any case, I'd added the tty-
>> specific logic to refresh-camp rather than Camp::Master, so I think
>> it'll have fixed my problem.
>
> But that still only applied with bare --files or --files=default,
> didn't
> it? I think a cron job doing --files=ask would still get in an
> infinite
> loop, if I read it correctly.
It's the second die in the block:
+ die "Can't query interactively without a tty!\n" if $opt{files}
eq 'ask' and ! -t STDIN;
But it may not DWIM yet... :-) I do think adding the defaulting in
process_copy_paths is more robust anyway, so I'll do that too.
> Anyway,
> Jon
>
> --
> Jon Jensen
> End Point Corporation
> http://www.endpoint.com/
> _______________________________________________
> Camps-users mailing list
> Camps-users at endpoint.com
> https://mail.endcrypt.com/mailman/listinfo/camps-users
Regards,
David
--
David Christensen
End Point Corporation
david at endpoint.com
More information about the Camps-users
mailing list