From dbd20362fffde50958fd0861c1d1d84b705f7a0a Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 23 Feb 2003 15:56:45 +0000 Subject: [PATCH] One more comma-separated list tweak git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@467 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/functions b/Shorewall/functions index 865414121..c14490ba6 100755 --- a/Shorewall/functions +++ b/Shorewall/functions @@ -38,7 +38,7 @@ separate_list() { # command phase # case "$@" in - *,|,*|*,,*) + *,|,*|*,,*|*[[:space:]]*) [ -n "$terminator" ] && \ $terminator "Invalid comma-separated list \"$@\"" echo "Warning -- invalid comma-separated list \"$@\"" >&2