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=''