From: Will Woods Date: Tue, 8 Mar 2011 23:35:11 +0000 (-0500) Subject: Fix bash logic typo/buglet ([ condition ] & expression) X-Git-Tag: 009~82 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3d88d27810acc7782618d67a03ff5c0e41494ca4;p=thirdparty%2Fdracut.git Fix bash logic typo/buglet ([ condition ] & expression) --- diff --git a/modules.d/90dmsquash-live/dmsquash-live-root b/modules.d/90dmsquash-live/dmsquash-live-root index d4ba8395b..e7c962643 100755 --- a/modules.d/90dmsquash-live/dmsquash-live-root +++ b/modules.d/90dmsquash-live/dmsquash-live-root @@ -26,7 +26,7 @@ getargbool 0 rd.live.overlay.readonly -y readonly_overlay && readonly_overlay="- overlay=$(getarg rd.live.overlay overlay) # FIXME: we need to be able to hide the plymouth splash for the check really -[ -e $livedev ] & fs=$(blkid -s TYPE -o value $livedev) +[ -e $livedev ] && fs=$(blkid -s TYPE -o value $livedev) if [ "$fs" = "iso9660" -o "$fs" = "udf" ]; then check="yes" fi