Set SHOREWALL_SHELL=/sbin/sh if it isn't set and export or test

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2020-09-13 15:33:01 -07:00
parent 8d4e79650e
commit b5f3294adb
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -216,6 +216,8 @@ get_config() {
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
fi
else
SHOREWALL_SHELL=/bin/sh
fi
if [ -n "$IP" ]; then