From 2b9adcb0f7d8eb2d7ff56e25a8e5cbcff1c46296 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 12 Dec 2023 22:06:57 -0600 Subject: [PATCH] Update shutdown-test.sh --- shutdown-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shutdown-test.sh b/shutdown-test.sh index 71251931..484800f5 100644 --- a/shutdown-test.sh +++ b/shutdown-test.sh @@ -12,7 +12,7 @@ SHUTDOWN_SERVER2(){ ESXI_HOST=${PW_HOST_ADDRESSES[${HOST}]} elif [ "${1^^}" == "ALL" ] || [ "${1^^}" == "MAINSITE" ] || [ "${1^^}" == "OFFSITE" ] || [ "${1^^}" == "MAIN" ] || [ "${1^^}" == "SYS" ]; then ESXI_HOST=${HOST^^} - hostname="All ${1^^} Host Servers" + [ "{1^^}" != "ALL" ] && hostname="All ${1^^} Host Servers" || hostname="All Host Servers" MN=1 else ESXI_HOST=''