summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-07-06 09:53:05 -0500
committerWilliam Hubbs <williamh@gentoo.org>2011-07-06 09:53:05 -0500
commit9a068c2500b3d8d473900dfaaf7d3fb5d593862d (patch)
treedd5d2410611fc05442da23fee7fcad42a97208d2 /sh
parente8e86b96dc8abbdfb7069a267873ef2950eb84cb (diff)
downloadopenrc-9a068c2500b3d8d473900dfaaf7d3fb5d593862d.tar.gz
openrc-9a068c2500b3d8d473900dfaaf7d3fb5d593862d.tar.bz2
openrc-9a068c2500b3d8d473900dfaaf7d3fb5d593862d.tar.xz
The is_net_fs function should use extra_net_fs_list
This was pointed out to me by Morse on #gentoo-base, so I would like to thank him for the patch.
Diffstat (limited to 'sh')
-rw-r--r--sh/rc-functions.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/rc-functions.sh.in b/sh/rc-functions.sh.in
index 50ba20b..de43074 100644
--- a/sh/rc-functions.sh.in
+++ b/sh/rc-functions.sh.in
@@ -50,7 +50,7 @@ is_net_fs()
# Fall back on fs types
local t=$(mountinfo --fstype "$1")
- for x in $net_fs_list; do
+ for x in $net_fs_list $extra_net_fs_list; do
[ "$x" = "$t" ] && return 0
done
return 1