]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Fix correct nfs path
authorJan Stodola <jstodola@redhat.com>
Thu, 1 Mar 2012 19:22:57 +0000 (20:22 +0100)
committerHarald Hoyer <harald@redhat.com>
Fri, 2 Mar 2012 10:10:59 +0000 (11:10 +0100)
modules.d/45url-lib/url-lib.sh

index 383e7ac22eb2777c7c136f2bf0163637abe1dc9b..1fc80a185dbec550afaa186650aad8a4c884654d 100755 (executable)
@@ -99,7 +99,7 @@ nfs_fetch_url() {
     mntdir=$(nfs_already_mounted $server $path)
     if [ -z "$mntdir" ]; then
         local mntdir="$(mkuniqdir /run nfs_mnt)"
-        mount_nfs $nfs:$server:$path${options:+:$options} $mntdir
+        mount_nfs $nfs:$server:$filepath${options:+:$options} $mntdir
         # lazy unmount during pre-pivot hook
         inst_hook --hook pre-pivot --name 99url-lib-umount-nfs umount -l $mntdir
     fi