From 4403785b0f0790ad35e0d66c8b4cb6515465c9a2 Mon Sep 17 00:00:00 2001 From: Rene Mayrhofer Date: Sun, 26 Sep 2010 18:59:02 +0000 Subject: Be sure to have a defined RETVAL. --- debian/strongswan-starter.ipsec.init | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3