Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: exitcode of fsvs diff

fsvs
Discussion topic

Back to topic list

Re: exitcode of fsvs diff

Author pmarek
Full name P.Marek
Date 2008-10-01 09:10:39 PDT
Message Hello Gunnar!

On Tuesday 30 September 2008 Gunnar Thielebein wrote:
> For test I did some changes; then execute these two commands with
> different result.
>
> > gthielebein@ws-adm03:/$ if sudo fsvs status -ostop_change=true;then
> > echo true;else echo false;fi
> > false
> > gthielebein@ws-adm03:/$ if sudo fsvs status ;then echo true;else echo
> > false;fi
> > .m.? 244 etc/hosts
> > .m.. dir etc
> > true
>
> Do i miss something here?
Maybe; I think it works as expected.

The documentation says

  The return code is 0 for successfull and 2 for an error. 1 is returned if
  the option "Stopping status reports as soon as changes are found" is used,
  and changes are found; ...

A normal "status" should never return an error - unless there's been one :-)
If you use the option, you'll get an exit code *if* changes are found.


Better now? Or how can I improve the documentation, so that it's clearer?


Regards,

Phil

--
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

« Previous message in topic | 9 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: