]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Fix /usr mounting due to variable name typo
authorColin Guthrie <colin@mageia.org>
Fri, 2 Dec 2011 10:27:11 +0000 (10:27 +0000)
committerHarald Hoyer <harald@redhat.com>
Fri, 2 Dec 2011 12:03:01 +0000 (13:03 +0100)
modules.d/98usrmount/mount-usr.sh

index 78bfbbc686a2847926fd17080a32fa9bf3b60d24..a61f935afdfefcf497c78d12351c7de8a0b8e4b2 100755 (executable)
@@ -17,7 +17,7 @@ mount_usr()
         fi
     done < "$NEWROOT/etc/fstab" >> /etc/fstab
 
-    if [ "x$__usr_found" != "x" ]; then
+    if [ "x$_usr_found" != "x" ]; then
         # we have to mount /usr
         fsck_single "$_dev" "$_fs" "$_opts"
         _ret=$?