From 7b076fd4a30df49c6b02dcd5fdcb4cda97281eff Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 20 Feb 2007 19:33:56 +0000 Subject: [PATCH] More fixing of exit status git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5428 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/shorewall | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Shorewall/shorewall b/Shorewall/shorewall index 1579fca36..8f463a7f1 100755 --- a/Shorewall/shorewall +++ b/Shorewall/shorewall @@ -233,8 +233,8 @@ start_command() { ${VARDIR}/.start $debugging start rc=$? else - logger -p kern.err "ERROR:Shorewall start failed" rc=$? + logger -p kern.err "ERROR:Shorewall start failed" fi [ -n "$nolock" ] || mutex_off @@ -617,7 +617,11 @@ refresh_command() { $SHOREWALL_SHELL ${VARDIR}/.refresh $debugging refresh fi + rc=$? + [ -n "$nolock" ] || mutex_off + + return $rc } #