diff --git a/bin/disk-image-create b/bin/disk-image-create index 11d48e21b..9fdb304c8 100755 --- a/bin/disk-image-create +++ b/bin/disk-image-create @@ -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