Merge "disk-image-create: fix test when no argument is given."

This commit is contained in:
Jenkins 2014-12-01 09:56:31 +00:00 committed by Gerrit Code Review
commit 407c824cbf

View File

@ -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