mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-30 03:47:05 -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
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue