aboutsummaryrefslogtreecommitdiffstats
path: root/src/ipsec
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2011-05-26 12:43:01 +0200
committerTobias Brunner <tobias@strongswan.org>2011-05-26 12:43:01 +0200
commit608657519ae15a745710920872159c62266028dd (patch)
tree83c3be36975b1b24f8e8ee2a6f238327d656f855 /src/ipsec
parentae9d5e7ce16d1d80bbba83e8250b0a779ae6ee1e (diff)
downloadstrongswan-608657519ae15a745710920872159c62266028dd.tar.bz2
strongswan-608657519ae15a745710920872159c62266028dd.tar.xz
ipsec: Wait longer for starter to quit before killing it.
As starter waits up to 10 seconds for either daemon to quit, killing it already after 5 seconds is too early.
Diffstat (limited to 'src/ipsec')
-rwxr-xr-xsrc/ipsec/ipsec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipsec/ipsec.in b/src/ipsec/ipsec.in
index 2ea0ef798..9ab25ba28 100755
--- a/src/ipsec/ipsec.in
+++ b/src/ipsec/ipsec.in
@@ -326,7 +326,7 @@ stop)
if [ -n "$spid" ]
then
kill $spid 2>/dev/null
- loop=5
+ loop=11
while [ $loop -gt 0 ] ; do
kill -0 $spid 2>/dev/null || break
sleep 1