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
1 changed files with 3 additions and 0 deletions

View File

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