From: Sebastian Harl Date: Mon, 22 Oct 2012 08:50:09 +0000 (+0200) Subject: pgtest.sh: Exit with status zero when using the 'help' command. X-Git-Url: https://git.tokkee.org/?p=postrr.git;a=commitdiff_plain;h=c7e2439eb830c872d3b088869218928d645a32e7 pgtest.sh: Exit with status zero when using the 'help' command. --- diff --git a/pgtest.sh b/pgtest.sh index d286d23..3c74629 100755 --- a/pgtest.sh +++ b/pgtest.sh @@ -107,6 +107,9 @@ case "$1" in echo "Environment variables:" echo " - TARGET" echo " Target directory of the PostgreSQL test setup." + if test "$1" = "help"; then + exit 0 + fi exit 1 ;; esac