Hi Philipp,

I have an issue when trying to use fsvs in a simple shell script which should check the diff of an local directory and its head-revision and mail the output of diff to admin via a cron-job.

In the man-pages and this thread (http://thread.gmane.org/gmane.comp.sysutils.backup.fsvs.general/211/focus=217) I have seen that you for some reason doesnt forward the exitcode of diff but that I can use the -W flag to override that behaviour.

When I use this command (and there are modifications in fileset):

if sudo fsvs -Wdiff-status=stop diff /;then echo $?;fi

I still get exitcode 0. Is there some error in usage?
Do you mind of some other way checking for changes?

Regards,
Gunnar

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to