btrfs-progs: docs: document exit codes from scrub

Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: David Sterba <dsterba@suse.com>
master
Adam Borowski 2016-09-23 23:51:57 +02:00 committed by David Sterba
parent 1200be31e6
commit aa8ad8d4ae
1 changed files with 8 additions and 1 deletions

View File

@ -95,7 +95,14 @@ print separate statistics for each device of the filesystem
EXIT STATUS
-----------
*btrfs scrub* returns a zero exit status if it succeeds. Non zero is
returned in case of failure.
returned in case of failure:
1::::
scrub couldn't be performed
2::::
there is nothing to resume
3::::
scrub found uncorrectable errors
AVAILABILITY
------------