Start to fix script errors
parent
e4f0b8f844
commit
87e76c75a3
|
@ -52,7 +52,7 @@ while getopts "hcr:s:n:d:iob" opt; do
|
|||
done
|
||||
|
||||
|
||||
if [[ -z $ram || -z $storage || -z $hostname || -z $domain || -z $bridge || $help = "yes" ]]; then
|
||||
if [[ -z $ram || -z $storage || -z $hostname || -z $domain || -z $bridge || $help == "yes" ]]; then
|
||||
echo "Error: Incorrect command usage, must provide all * flags."
|
||||
usage
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue