Merge "disk-image-create: fix test when no argument is given."
This commit is contained in:
commit
407c824cbf
@ -143,7 +143,7 @@ if [ "$IS_RAMDISK" == "1" ]; then
|
||||
fi
|
||||
|
||||
# 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"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user