]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
98usrmount: [ "x$_usr_found" != "x" ] - removed redundant 'x'
authorAmadeusz Żołnowski <aidecoe@aidecoe.name>
Thu, 26 Jul 2012 13:05:24 +0000 (15:05 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 26 Jul 2012 14:35:13 +0000 (16:35 +0200)
modules.d/98usrmount/mount-usr.sh

index f4d59b3eb5d1c6b3f6bde9dac2d394c36e8383f9..cca41c35feb09cbad2ae63569c71deb759fa5162 100755 (executable)
@@ -70,7 +70,7 @@ mount_usr()
         fi
     done < "$NEWROOT/etc/fstab" >> /etc/fstab
 
-    if [ "x$_usr_found" != "x" ]; then
+    if [ "$_usr_found" != "" ]; then
         # we have to mount /usr
         _fsck_ret=0
         if ! getargbool 0 rd.skipfsck; then