]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Fix syntax error in conditional
authorJeremy Katz <katzj@redhat.com>
Tue, 18 Aug 2009 17:59:19 +0000 (13:59 -0400)
committerHarald Hoyer <harald@redhat.com>
Wed, 19 Aug 2009 08:34:06 +0000 (10:34 +0200)
Fix a typo in the conditionals.  Not sure how I didn't notice these
before

modules.d/90dmsquash-live/dmsquash-live-root

index b8d388093c68ab392fb5f50b0cca2debc6f1a489..06fd6747869018f2164b3ede77fbe1025b67b134 100755 (executable)
@@ -24,7 +24,7 @@ overlay=$(getarg 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)
-if [ "$fs" == "iso9660" -o "$fs" = "udf" ]; then
+if [ "$fs" = "iso9660" -o "$fs" = "udf" ]; then
     check="yes"
 fi
 getarg check || check=""
@@ -64,7 +64,7 @@ do_live_overlay() {
         pathspec=$( echo $overlay | sed -e 's/^.*://' )
     fi
 
-    if [ -z "$pathspec" -o "$pathspec" == "auto" ]; then
+    if [ -z "$pathspec" -o "$pathspec" = "auto" ]; then
         pathspec="/${live_dir}/overlay-$l-$u"
     fi
     devspec=$( echo $overlay | sed -e 's/:.*$//' )