Removing bashism in initscript.
authorDaniel Baumann <daniel@debian.org>
Sat, 7 Feb 2009 23:28:08 +0000 (00:28 +0100)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:48:04 +0000 (17:48 +0100)
debian/live-initramfs.init

index 1dd72cc..5ab7b81 100644 (file)
@@ -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