From 9f9d70e1078b977d4774e27749091384cb4a892e Mon Sep 17 00:00:00 2001 From: Max Ka Date: Fri, 14 Feb 2020 18:58:15 +0100 Subject: [PATCH] fixed typo in return code comparision --- bootstrap-salt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 8ab4f43..a5114be 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -6214,7 +6214,7 @@ __zypper() { zypper --non-interactive "${@}"; # Return codes between 100 and 104 are only informations, not errors # https://en.opensuse.org/SDB:Zypper_manual#EXIT_CODES - if [ "$?" -qt "99" ] && [ "$?" -le "104" ]; then + if [ "$?" -gt "99" ] && [ "$?" -le "104" ]; then return 0 fi return $?