From 69e779e3c1893c3d08dee98781e6b8ce9bbb81c1 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sun, 1 Feb 2015 23:36:20 +0100 Subject: Use nullglob for all globbings. --- vserver.functions | 1 + 1 file changed, 1 insertion(+) (limited to 'vserver.functions') diff --git a/vserver.functions b/vserver.functions index 97e7b35..f35cf0c 100644 --- a/vserver.functions +++ b/vserver.functions @@ -102,6 +102,7 @@ function _generateInterfaceOptions() { # add commands for default route local netns=0 + shopt -s nullglob for net in "$VSERVER_DIR/netns/"*; do test -d "$net" || continue test ! -e "${net}/disabled" || continue -- cgit v1.2.3-1-g7c22