From 3d88d27810acc7782618d67a03ff5c0e41494ca4 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Tue, 8 Mar 2011 18:35:11 -0500 Subject: [PATCH] Fix bash logic typo/buglet ([ condition ] & expression) --- modules.d/90dmsquash-live/dmsquash-live-root | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/90dmsquash-live/dmsquash-live-root b/modules.d/90dmsquash-live/dmsquash-live-root index d4ba8395..e7c96264 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