]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Update nfs-lib.sh 154/head
authorhonza801 <honza801@gmail.com>
Thu, 1 Sep 2016 13:37:58 +0000 (15:37 +0200)
committerGitHub <noreply@github.com>
Thu, 1 Sep 2016 13:37:58 +0000 (15:37 +0200)
\ 1anaconda_nfsv6_to_var(): fix options parsing. $1 contains  : at the end, this is done by previous functions.

modules.d/95nfs/nfs-lib.sh

index 67608b1945f4b553e2f1dc59c622a37ded354d7c..1ba4f5ff95dee3eb6149ec4b16c45b627ccb298c 100755 (executable)
@@ -88,7 +88,7 @@ anaconda_nfs_to_var() {
 # IPv6 nfs path will be treated separately
 anaconda_nfsv6_to_var() {
     nfs="nfs"
-    path="$1:"
+    path="$1"
     options="${path#*:/}"
     path="/${options%%:*}"
     server="${1#*nfs:}"