summaryrefslogtreecommitdiffstats
path: root/vserver.functions
diff options
context:
space:
mode:
Diffstat (limited to 'vserver.functions')
-rw-r--r--vserver.functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/vserver.functions b/vserver.functions
index 97e7b35..458d8fb 100644
--- a/vserver.functions
+++ b/vserver.functions
@@ -102,7 +102,8 @@ function _generateInterfaceOptions() {
# add commands for default route
local netns=0
- for net in "$VSERVER_DIR/netns/"*; do
+ shopt -s nullglob
+ for net in "$VSERVER_DIR/spline-netns/"*; do
test -d "$net" || continue
test ! -e "${net}/disabled" || continue