change from || to &&

This commit is contained in:
m0duspwnens
2021-12-07 17:11:15 -05:00
parent 8c95d0f36b
commit c80059efb0

View File

@@ -784,7 +784,7 @@ echo "1" > /root/accept_changes
set_progress_str 62 "$(print_salt_state_apply 'common')"
salt-call state.apply -l info common >> $setup_log 2>&1
if [[ ! $is_helix || ! $is_receiver ]]; then
if [[ ! $is_helix && ! $is_receiver ]]; then
set_progress_str 62 "$(print_salt_state_apply 'nginx')"
salt-call state.apply -l info nginx >> $setup_log 2>&1
fi