Login | Register
My pages Projects Community openCollabNet

Discussions > users > exitcode of fsvs diff

fsvs
Discussion topic

2020-03-13: This site is going to be decommissioned and shut down very soon. Please copy and archive any data you wish to keep ASAP

Back to topic list

exitcode of fsvs diff

Author tekknokrat
Full name Gunnar Thielebein
Date 2008-06-10 08:39:06 PDT
Message 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.sysut​ils.backup.fsvs.gene​ral/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

« Previous message in topic | 1 of 9 | Next message in topic »

Messages

Show all messages in topic

exitcode of fsvs diff tekknokrat Gunnar Thielebein 2008-06-10 08:39:06 PDT
     Re: exitcode of fsvs diff pmarek P.Marek 2008-06-10 09:53:15 PDT
         Re: exitcode of fsvs diff pmarek P.Marek 2008-06-10 11:22:16 PDT
             Re: exitcode of fsvs diff tekknokrat Gunnar Thielebein 2008-06-11 15:04:44 PDT
                 Re: exitcode of fsvs diff tekknokrat Gunnar Thielebein 2008-06-16 03:32:47 PDT
                 Re: Re: exitcode of fsvs diff tekknokrat Gunnar Thielebein 2008-06-16 03:39:40 PDT
                     Re: Re: exitcode of fsvs diff pmarek P.Marek 2008-06-16 03:42:22 PDT
                         Re: Re: exitcode of fsvs diff tekknokrat Gunnar Thielebein 2008-09-30 13:38:58 PDT
                             Re: exitcode of fsvs diff pmarek P.Marek 2008-10-01 09:10:39 PDT
Messages per page: