mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-02 21:00:16 -05:00
Change the return code for 'diff' if a sync is required
This commit is contained in:
parent
9b4f41d7ff
commit
5c5e80a239
10 changed files with 38 additions and 22 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue