Change the return code for 'diff' if a sync is required

This commit is contained in:
Andrea Mazzoleni 2015-04-28 19:15:16 +02:00
parent 9b4f41d7ff
commit 5c5e80a239
10 changed files with 38 additions and 22 deletions

View file

@ -437,8 +437,8 @@ Commands
This command doesn't check the file data, but only the file timestamp
size and inode.
If a "sync" is not required, the return error code is 0. Otherwise,
it's 1.
If a "sync" is required, the process return code is 2, instead of the
default 0. The return code 1 is instead for a generic error condition.
Nothing is modified.