diff options
Diffstat (limited to 'functions/arguments.sh')
-rwxr-xr-x | functions/arguments.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/arguments.sh b/functions/arguments.sh index 28e727afb..b2089626c 100755 --- a/functions/arguments.sh +++ b/functions/arguments.sh @@ -12,7 +12,7 @@ Arguments () { ARGUMENTS="$(getopt --longoptions breakpoints,color,conffile:,debug,force,help,quiet,usage,verbose,version --name=${PROGRAM} --options c:huv --shell sh -- "${@}")" - if [ "${?}" != "0" ] + if [ $? -ne 0 ] then Echo_error "terminating" >&2 exit 1 |