diff options
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r-- | etc/inc/vpn.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index 7cd235d..9ab60ae 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -562,7 +562,7 @@ EOD; /* We are already online, reload */ mwexec("/usr/local/sbin/racoonctl reload-config"); sleep(1); - exec("/bin/ps auxw | grep \"/usr/local/sbin/[r]acoon\" | awk '{print $2}'", $racoonpid); + exec("/bin/ps auxw | grep \"racoon\" | awk '{print $2}'", $racoonpid); if(! empty($racoonpid)) { mwexec("/usr/bin/kill -HUP $racoonpid[0]"); } |