fix(SCRIPT): fix null hostname error
This commit is contained in:
parent
cc2a81070d
commit
1a1df53175
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user