fix vars and if statement

This commit is contained in:
m0duspwnens
2020-07-29 14:36:42 -04:00
parent 8a44d4752b
commit 171aa1178a

View File

@@ -271,7 +271,7 @@ highstate
echo ""
echo "Upgrade from $INSTALLEDVERSION to $NEWVERSION complete."
if [ SALTUPGRADED ]; then
if [ "$SALTUPGRADED" = True ]; then
echo ""
echo "Upgrading the remaining Security Onion nodes from $INSTALLEDSALTVERSION to $NEWSALTVERSION"
salt -C 'not *_eval and not *_helix and not *_manager and not *_managersearch and not *_standalone' -b $BATCHSIZE state.apply salt.minion