mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-18 23:57:14 +02:00
Fix exit status from start/restart
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5426 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
781d1fe3b4
commit
179625239c
@ -6,6 +6,8 @@ Changes in 3.4.0 Final
|
|||||||
|
|
||||||
3) Fix restoration of ip range dynamic entries.
|
3) Fix restoration of ip range dynamic entries.
|
||||||
|
|
||||||
|
4) Fix exit status problem with 'restart'
|
||||||
|
|
||||||
Changes in 3.4.0 RC 2
|
Changes in 3.4.0 RC 2
|
||||||
|
|
||||||
1) No longer include params file in compiled output.
|
1) No longer include params file in compiled output.
|
||||||
|
@ -37,6 +37,9 @@ Problems Corrected in 3.4.0 Final
|
|||||||
time that Shorewall was restarted, new connections from outside the
|
time that Shorewall was restarted, new connections from outside the
|
||||||
firewall were totally blocked.
|
firewall were totally blocked.
|
||||||
|
|
||||||
|
3) If a 'shorewall restart' command failed during the compile phase,
|
||||||
|
/sbin/shorewall erroneously returned an exit status of 0.
|
||||||
|
|
||||||
Other Changes in 3.4.0 Final
|
Other Changes in 3.4.0 Final
|
||||||
|
|
||||||
1) A warning is now issued when 'loose' and 'balance' are specified together
|
1) A warning is now issued when 'loose' and 'balance' are specified together
|
||||||
|
@ -550,8 +550,8 @@ restart_command() {
|
|||||||
$SHOREWALL_SHELL ${VARDIR}/.restart $debugging restart
|
$SHOREWALL_SHELL ${VARDIR}/.restart $debugging restart
|
||||||
rc=$?
|
rc=$?
|
||||||
else
|
else
|
||||||
logger -p kern.err "ERROR:Shorewall restart failed"
|
|
||||||
rc=$?
|
rc=$?
|
||||||
|
logger -p kern.err "ERROR:Shorewall restart failed"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -n "$nolock" ] || mutex_off
|
[ -n "$nolock" ] || mutex_off
|
||||||
|
Loading…
x
Reference in New Issue
Block a user