diff --git a/prepare.sh b/prepare.sh index cde460159..0d53e7623 100755 --- a/prepare.sh +++ b/prepare.sh @@ -17,8 +17,9 @@ opts=$(getopt \ --options "" \ -- "$@" ) +ret=$? -if [ $? -ne 0 ] +if [ ${ret} -ne 0 ] then echo "Try '--help' for more information." exit 1