Merge "disk-image-create: fix test when no argument is given."
This commit is contained in:
commit
407c824cbf
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ if [ "$IS_RAMDISK" == "1" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If no elements are specified theres no way we can succeed
|
# If no elements are specified theres no way we can succeed
|
||||||
if [ -z "$@" ]; then
|
if [ -z "$*" ]; then
|
||||||
echo "ERROR: At least one distribution root element must be specified"
|
echo "ERROR: At least one distribution root element must be specified"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue