summaryrefslogtreecommitdiff
path: root/src/ipsec/_ipsec.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipsec/_ipsec.in')
-rw-r--r--src/ipsec/_ipsec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipsec/_ipsec.in b/src/ipsec/_ipsec.in
index 0798830cf..89c7ef753 100644
--- a/src/ipsec/_ipsec.in
+++ b/src/ipsec/_ipsec.in
@@ -256,10 +256,10 @@ stop)
if [ -n "$spid" ]
then
kill $spid 2>/dev/null
- loop=11
+ loop=110
while [ $loop -gt 0 ] ; do
kill -0 $spid 2>/dev/null || break
- sleep 1
+ sleep 0.1
loop=$(($loop - 1))
done
if [ $loop -eq 0 ]