diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/setup-live b/meta/recipes-core/initrdscripts/initramfs-framework/setup-live index b98a321b89..4c79f41285 100644 --- a/meta/recipes-core/initrdscripts/initramfs-framework/setup-live +++ b/meta/recipes-core/initrdscripts/initramfs-framework/setup-live @@ -12,7 +12,7 @@ ISOLINUX="" ROOT_DISK="" shelltimeout=30 - if [ -z $bootparam_root -o $bootparam_root = "/dev/ram0" ]; then + if [ -z "$bootparam_root" -o "$bootparam_root" = "/dev/ram0" ]; then echo "Waiting for removable media..." C=0 while true