]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_io: set exitcode = 1 on parsing errors in scrub/repair command
authorDarrick J. Wong <djwong@kernel.org>
Wed, 20 Dec 2023 16:53:45 +0000 (08:53 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 22 Dec 2023 02:29:14 +0000 (18:29 -0800)
commit1067f3cd67aebb712b7b7ad2d79e0d96c4da25bc
tree052580e72025f08a2b6079e70e9ab0bce3ec70a9
parent2cbc52f5c9a9588e1e9c8e54c0435c121424fe5a
xfs_io: set exitcode = 1 on parsing errors in scrub/repair command

Set exitcode to 1 if there is an error parsing the CLI arguments to the
scrub or repair commands, like we do most other places in xfs_io.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
io/scrub.c