]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
98usrmount/mount-usr.sh: remove extra slash
authorHarald Hoyer <harald@redhat.com>
Thu, 9 Feb 2012 12:58:49 +0000 (13:58 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 9 Feb 2012 12:58:49 +0000 (13:58 +0100)
otherwise we have /sysroot//usr in fstab

modules.d/98usrmount/mount-usr.sh

index b24446ae3b78687938f296a57032f2ed67040b55..5139c7a0b0aecaf2d2d37da1f55a66e35b0fbf6c 100755 (executable)
@@ -11,7 +11,7 @@ mount_usr()
     # check, if we have to mount the /usr filesystem
     while read _dev _mp _fs _opts _rest; do
         if [ "$_mp" = "/usr" ]; then
-            echo "$_dev $NEWROOT/$_mp $_fs ${_opts} $_rest"
+            echo "$_dev ${NEWROOT}${_mp} $_fs ${_opts} $_rest"
             _usr_found="1"
             break
         fi