On Sat, Feb 18, 2017 at 10:39:14AM +0100, Yuri D'Elia wrote:
> As for the second patch, I'd like to contribute extended exit status
> codes. To avoid breaking old scripts, I'd add a new switch
> (-e/--exit-code or something like it) that changes the meaning of the
> exit status.
> 
well, i'm still not such a big fan of this, and would really prefer a
callback mechanism. this would be also more compatible with a future
daemon mode, where exit codes are fairly meaningless. would you be
willing to work on that?

> Exit code 3 is currently used by the crashHandler, which I found out
> existed only now. I'd honestly remove it (the crashHandler function
> itself), since even as a developer I really don't like interference when
> I'm debugging issues, but otherwise we can keep exit(3) as well.
> 
it's for the autotests, as you could have found from the history
(ab11737b3). ;)

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to