]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Fix bash logic typo/buglet ([ condition ] & expression)
authorWill Woods <wwoods@redhat.com>
Tue, 8 Mar 2011 23:35:11 +0000 (18:35 -0500)
committerHarald Hoyer <harald@redhat.com>
Wed, 9 Mar 2011 11:08:59 +0000 (12:08 +0100)
modules.d/90dmsquash-live/dmsquash-live-root

index d4ba8395b555ef14b65600041194fddda2db8ec9..e7c962643131e94228ddedeb7c2303039be4efac 100755 (executable)
@@ -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