summaryrefslogtreecommitdiffstats
path: root/vserver.functions
diff options
context:
space:
mode:
Diffstat (limited to 'vserver.functions')
-rw-r--r--vserver.functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/vserver.functions b/vserver.functions
index 458d8fb..1f68e08 100644
--- a/vserver.functions
+++ b/vserver.functions
@@ -110,6 +110,7 @@ function _generateInterfaceOptions() {
_netnsProcessSingleGateway "$net"
netns=1
done
+ shopt -u nullglob
# if using netns, automatically add localhost
[ "$netns" != "0" ] && _netnsAddLocalhost "$VSERVER_DIR"