From 2511fff2595a5d44e50a1b684acd64cb30876c42 Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Wed, 12 Feb 2020 02:40:38 +0000 Subject: don't unnecessarily convert exit codes to strings Closes: #952861 --- scripts/build/config | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/build') diff --git a/scripts/build/config b/scripts/build/config index 979f3f059..e9328d5a6 100755 --- a/scripts/build/config +++ b/scripts/build/config @@ -166,8 +166,7 @@ Local_arguments () LONG_OPTIONS="$(echo ${LONG_OPTIONS} | tr -d ' ')" ARGUMENTS="$(getopt --longoptions ${LONG_OPTIONS} --name="${PROGRAM}" --options a:d:m:k:b:s:c:huv --shell sh -- "${@}")" - if [ "${?}" != "0" ] - then + if [ $? -ne 0 ]; then Echo_error "terminating" >&2 exit 1 fi -- cgit v1.2.3