X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Flive-initramfs.init;h=5ab7b81c6220cb2abc66ae7b6d3bbc6e9c00808c;hb=dc75a7a35d1fe175caeee0abdf00d48645ea1a31;hp=1dd72cce75b42688c962b114a97fd4baaabce7e9;hpb=c8d307dda6fb07a63dfe69381fc5176ad925862a;p=live-boot-grml.git diff --git a/debian/live-initramfs.init b/debian/live-initramfs.init index 1dd72cc..5ab7b81 100644 --- a/debian/live-initramfs.init +++ b/debian/live-initramfs.init @@ -59,7 +59,7 @@ cache_path() { get_boot_device() { # search in /proc/mounts for the device that is mounted at /live/image while read DEVICE MOUNT REST; do - if [ "${MOUNT}" == "/live/image" ]; then + if [ "${MOUNT}" = "/live/image" ]; then echo "${DEVICE}" exit 0 fi