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

@ -725,8 +725,8 @@ their parity data recomputed.
This command doesn\'t check the file data, but only the file timestamp
size and inode.
.PP
If a \[dq]sync\[dq] is not required, the return error code is 0. Otherwise,
it\'s 1.
If a \[dq]sync\[dq] is required, the process return code is 2, instead of the
default 0. The return code 1 is instead for a generic error condition.
.PP
Nothing is modified.
.SS sync