From 78306e9f5b39dcf18457972437ef3e53496ca5d7 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 18 Mar 2012 12:28:26 -0700 Subject: [PATCH] Don't issue missing SHOREWALL_SHELL warning when compiling for export Signed-off-by: Tom Eastep --- Shorewall/lib.cli-std | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/lib.cli-std b/Shorewall/lib.cli-std index eb0f6493e..83c4e0d1b 100644 --- a/Shorewall/lib.cli-std +++ b/Shorewall/lib.cli-std @@ -239,7 +239,7 @@ get_config() { LOG_VERBOSITY=-1 fi - if [ -n "$SHOREWALL_SHELL" ]; then + if [ -n "$SHOREWALL_SHELL" -a -z "$g_export" ]; then if [ ! -x "$SHOREWALL_SHELL" ]; then echo " WARNING: The program specified in SHOREWALL_SHELL does not exist or is not executable; falling back to /bin/sh" >&2 SHOREWALL_SHELL=/bin/sh