Fixed minor issue with unary operator expected
This commit is contained in:
parent
7f16abf749
commit
d312695d78
@ -48,12 +48,12 @@ shift
|
||||
|
||||
# Validate the given options
|
||||
|
||||
if [ "$@" = "" ]
|
||||
if [ "$1" = "" ]
|
||||
then
|
||||
echo "ERROR: A network expression must be specified!" >&2
|
||||
exit 1
|
||||
else
|
||||
networkExpr=$(readlink -f $@)
|
||||
networkExpr=$(readlink -f $1)
|
||||
fi
|
||||
|
||||
# Build a network of VMs
|
||||
|
Loading…
x
Reference in New Issue
Block a user