mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
fixed typo in return code comparision
This commit is contained in:
parent
3795d14197
commit
9f9d70e107
1 changed files with 1 additions and 1 deletions
|
@ -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 $?
|
||||
|
|
Loading…
Add table
Reference in a new issue