Revision 02a2bffa
Added by Chris Buechler over 10 years ago
etc/inc/openvpn.inc | ||
---|---|---|
849 | 849 |
if ($i > 10) { |
850 | 850 |
log_error("OpenVPN ID $mode_id PID $pid still running, killing."); |
851 | 851 |
posix_kill($pid, SIGKILL); |
852 |
usleep(500000); |
|
852 | 853 |
} |
853 | 854 |
$i++; |
854 | 855 |
} |
Also available in: Unified diff
add a usleep here to prevent killing twice. Ticket #3894