mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-03 08:25:52 +02: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)
|
PKTTYPE=$(added_param_value_no PKTTYPE $PKTTYPE)
|
||||||
|
|
||||||
case "${SHOREWALL_COMPILER:=shell}" in
|
if [ $PROGRAM = compiler ]; then
|
||||||
perl)
|
case "${SHOREWALL_COMPILER:=shell}" in
|
||||||
export CONFIG_PATH;
|
perl)
|
||||||
return;
|
export CONFIG_PATH;
|
||||||
;;
|
return;
|
||||||
shell)
|
;;
|
||||||
;;
|
shell)
|
||||||
*)
|
;;
|
||||||
startup_error "Invalid value ($SHOREWALL_COMPILER) for SHOREWALL_COMPILER"
|
*)
|
||||||
;;
|
startup_error "Invalid value ($SHOREWALL_COMPILER) for SHOREWALL_COMPILER"
|
||||||
esac
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
TMP_DIR=$(mktempdir)
|
TMP_DIR=$(mktempdir)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user