summaryrefslogtreecommitdiff
path: root/debian/strongswan-starter.ipsec.init
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2010-09-26 18:59:02 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2010-09-26 18:59:02 +0000
commit4403785b0f0790ad35e0d66c8b4cb6515465c9a2 (patch)
tree42489fefd88e966cf283fd640f2207ac9a848be3 /debian/strongswan-starter.ipsec.init
parent90115370530fc19ea5bd899a847818497736ae75 (diff)
downloadvyos-strongswan-4403785b0f0790ad35e0d66c8b4cb6515465c9a2.tar.gz
vyos-strongswan-4403785b0f0790ad35e0d66c8b4cb6515465c9a2.zip
Be sure to have a defined RETVAL.
Diffstat (limited to 'debian/strongswan-starter.ipsec.init')
-rw-r--r--debian/strongswan-starter.ipsec.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/strongswan-starter.ipsec.init b/debian/strongswan-starter.ipsec.init
index 3446692d1..827ced30a 100644
--- a/debian/strongswan-starter.ipsec.init
+++ b/debian/strongswan-starter.ipsec.init
@@ -70,6 +70,7 @@ do_stop()
# give the proper signal to stop
$STARTER stop || return 2
+ RETVAL=0
# but kill if that didn't work
if [ -e $PIDFILE1 ]; then
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE1 --name $NAME