Remove redundant test

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2017-11-14 10:45:10 -08:00
parent 502e98eb9f
commit f411f7dd31
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -212,7 +212,7 @@ get_config() {
fi
if [ -z "${g_export}${g_test}" ]; then
if [ -n "$SHOREWALL_SHELL" -a -z "$g_export" ]; then
if [ -n "$SHOREWALL_SHELL" ]; 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