aboutsummaryrefslogtreecommitdiff
path: root/init.d/netmount
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/netmount')
-rwxr-xr-xinit.d/netmount2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/netmount b/init.d/netmount
index 08cdf42d..df6e0c99 100755
--- a/init.d/netmount
+++ b/init.d/netmount
@@ -30,7 +30,7 @@ need_portmap() {
local mnt opts ret IFS="
"
set -- $(fstabinfo --fstype nfs,nfs4)
- for mnt in "$@"; do
+ for mnt; do
case ,$(fstabinfo --options "${mnt}"), in
*,noauto,*|*,nolock,*);;
*) return 0;;