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.
This commit is contained in:
parent
e8e86b96dc
commit
9a068c2500
@ -50,7 +50,7 @@ is_net_fs()
|
|||||||
|
|
||||||
# Fall back on fs types
|
# Fall back on fs types
|
||||||
local t=$(mountinfo --fstype "$1")
|
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
|
[ "$x" = "$t" ] && return 0
|
||||||
done
|
done
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user