fix(SCRIPT): fix null hostname error

This commit is contained in:
Asif Bacchus 2021-01-06 01:19:37 -07:00
parent cc2a81070d
commit 1a1df53175

View File

@ -160,6 +160,9 @@ fi
# trim leading whitespace # trim leading whitespace
vmount=${vmount##[[:space:]]} vmount=${vmount##[[:space:]]}
# handle null HOSTNAMES
if [ -z "$HOSTNAMES" ]; then HOSTNAMES="_"; fi
# process startup parameters # process startup parameters
while [ $# -gt 0 ]; do while [ $# -gt 0 ]; do
case "$1" in case "$1" in