Skip to content

Commit

Permalink
Fix flipped logic for handling memdiskfind
Browse files Browse the repository at this point in the history
Commit 07d13d4 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 <benjamin.drung@profitbricks.com>
  • Loading branch information
bdrung committed Jan 13, 2020
1 parent 685fa11 commit 9c27c7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/9990-main.sh
Expand Up @@ -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.
Expand Down

0 comments on commit 9c27c7a

Please sign in to comment.