From: Benjamin Drung Date: Mon, 13 Jan 2020 09:53:19 +0000 (+0100) Subject: Fix flipped logic for handling memdiskfind X-Git-Tag: debian/1%20210122~9^2~1 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=9c27c7a23d5b839cfefa72bfae93102fbf67d83a Fix flipped logic for handling memdiskfind Commit 07d13d4a81e8e3ea3f7cff63a6528efd5a46b1e7 accidentally flipped the logic for handling memdiskfind, causing erroneous messages and a four second boot delay. Flip the logic again to correct it. Thanks to Marcel Partap for reporting it. Signed-off-by: Benjamin Drung --- diff --git a/components/9990-main.sh b/components/9990-main.sh index 4a22909..3fbe9bc 100755 --- a/components/9990-main.sh +++ b/components/9990-main.sh @@ -52,7 +52,7 @@ Live () else if [ -x /usr/bin/memdiskfind ] then - if ! MEMDISK=$(/usr/bin/memdiskfind) + if MEMDISK=$(/usr/bin/memdiskfind) then # We found a memdisk, set up phram # Sometimes "modprobe phram" can not successfully create /dev/mtd0.