fix array def

This commit is contained in:
m0duspwnens
2024-10-15 12:01:53 -04:00
parent c46fb7e74c
commit c2e46932ee

View File

@@ -1081,7 +1081,7 @@ apply_hotfix() {
} }
failed_soup_restore_items() { failed_soup_restore_items() {
local services=("$cron_service_name", "salt-master", "salt-minion") local services=("$cron_service_name" "salt-master" "salt-minion")
for SERVICE_NAME in "${services[@]}"; do for SERVICE_NAME in "${services[@]}"; do
if ! systemctl is-active --quiet "$SERVICE_NAME"; then if ! systemctl is-active --quiet "$SERVICE_NAME"; then
systemctl_func "start" "$SERVICE_NAME" systemctl_func "start" "$SERVICE_NAME"