]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_repair: update the manual content about xfs_repair exit status
authorZirong Lang <zlang@redhat.com>
Thu, 12 Jan 2017 20:12:42 +0000 (14:12 -0600)
committerEric Sandeen <sandeen@redhat.com>
Thu, 12 Jan 2017 20:12:42 +0000 (14:12 -0600)
commit29043c6ccd49ce852fb438f2c5147f6a7f80fa97
treefbfeaa81f0fe862d8a635b59b183fc542192a0c8
parent9fcc120ad51ce23bae8bcdc78654082b9bd08679
xfs_repair: update the manual content about xfs_repair exit status

The man 8 xfs_repair said "xfs_repair run without the -n option will
always return a status code of 0". That's not correct.

xfs_repair will return 2 if it finds a fs log which needs to be
replayed or cleared, 1 if runtime error is encountered, and 0 for
all other cases.

[ sandeen: editing for clarity ]

Signed-off-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
man/man8/xfs_repair.8