change condidtional statement

This commit is contained in:
m0duspwnens
2020-07-29 14:41:58 -04:00
parent 8c466f548b
commit 5a814f8312

View File

@@ -271,7 +271,7 @@ highstate
echo ""
echo "Upgrade from $INSTALLEDVERSION to $NEWVERSION complete."
if [ "$SALTUPGRADED" = True ]; then
if [[ "$SALTUPGRADED" == "True" ]]; then
echo ""
echo "Upgrading Salt on 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