mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-22 21:48:39 +01:00
Fix silly bug in do_initialize() that breaks all commands but start/restart
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5877 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
fbf73e1c34
commit
d6972064f0
@ -1804,17 +1804,19 @@ do_initialize() {
|
||||
#
|
||||
PKTTYPE=$(added_param_value_no PKTTYPE $PKTTYPE)
|
||||
|
||||
case "${SHOREWALL_COMPILER:=shell}" in
|
||||
perl)
|
||||
export CONFIG_PATH;
|
||||
return;
|
||||
;;
|
||||
shell)
|
||||
;;
|
||||
*)
|
||||
startup_error "Invalid value ($SHOREWALL_COMPILER) for SHOREWALL_COMPILER"
|
||||
;;
|
||||
esac
|
||||
if [ $PROGRAM = compiler ]; then
|
||||
case "${SHOREWALL_COMPILER:=shell}" in
|
||||
perl)
|
||||
export CONFIG_PATH;
|
||||
return;
|
||||
;;
|
||||
shell)
|
||||
;;
|
||||
*)
|
||||
startup_error "Invalid value ($SHOREWALL_COMPILER) for SHOREWALL_COMPILER"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
TMP_DIR=$(mktempdir)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user