From: honza801 Date: Thu, 1 Sep 2016 13:37:58 +0000 (+0200) Subject: Update nfs-lib.sh X-Git-Tag: 045~107^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F154%2Fhead;p=thirdparty%2Fdracut.git Update nfs-lib.sh anaconda_nfsv6_to_var(): fix options parsing. $1 contains : at the end, this is done by previous functions. --- diff --git a/modules.d/95nfs/nfs-lib.sh b/modules.d/95nfs/nfs-lib.sh index 67608b194..1ba4f5ff9 100755 --- a/modules.d/95nfs/nfs-lib.sh +++ b/modules.d/95nfs/nfs-lib.sh @@ -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:}"