check: exit with exit code 1 after printing the usage message
PATCH 1/1 check: exit with exit code 1 after printing the usage message
If check is passed an invalid command line option, exit with a non-zero exit code so that a script calling check can detect the failure. The check script already performs an "exit 1" if a valid option has an invalid argument, so this is consistent with existing practice.
Signed-off-by Theodore Ts'o <[email protected]>
--- check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
check +1 -1
@@ -116,7 +116,7 @@ examples: check -X .exclude -g auto check -E ~/.xfstests.exclude ' - exit 0 + exit 1 } get_sub_group_list()
Signature · 1 line
2.31.0