210-sleep.patch 259 B

1234567891011
  1. --- a/src/ipsec/_ipsec.in
  2. +++ b/src/ipsec/_ipsec.in
  3. @@ -259,7 +259,7 @@ stop)
  4. loop=110
  5. while [ $loop -gt 0 ] ; do
  6. kill -0 $spid 2>/dev/null || break
  7. - sleep 0.1 2>/dev/null
  8. + sleep 1 2>/dev/null
  9. if [ $? -ne 0 ]
  10. then
  11. sleep 1