Skip to content

Commit 8c92fe7

Browse files
committed
Exit 0 when --help is passed: program succeeded
1 parent 36452cc commit 8c92fe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prerequisites/check_version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ if [ $# == 0 ]; then
7373

7474
elif [[ $1 == '--help' || $1 == '-h' ]]; then
7575
usage | less
76-
exit 30
76+
exit 0
7777

7878
elif [[ $1 == '--list' || $1 == '-l' ]]; then
7979
echo "$this_script currently verifies minimum version numbers for the following OpenCoarrays prerequisites:"

0 commit comments

Comments
 (0)