Ooops
This commit is contained in:
parent
22c76df44d
commit
f09fe4b49f
@ -669,7 +669,7 @@ sub verifyssh {
|
|||||||
if($pid > 0) {
|
if($pid > 0) {
|
||||||
# if we have a pid it is actually our ssh server,
|
# if we have a pid it is actually our ssh server,
|
||||||
# since runsshserver() unlinks previous pidfile
|
# since runsshserver() unlinks previous pidfile
|
||||||
if(!kill(0, $pid) {
|
if(!kill(0, $pid)) {
|
||||||
logmsg "RUN: SSH server has died after starting up\n";
|
logmsg "RUN: SSH server has died after starting up\n";
|
||||||
checkdied($pid)
|
checkdied($pid)
|
||||||
unlink($SSHPIDFILE);
|
unlink($SSHPIDFILE);
|
||||||
@ -692,7 +692,7 @@ sub verifysocks {
|
|||||||
if($pid > 0) {
|
if($pid > 0) {
|
||||||
# if we have a pid it is actually our socks server,
|
# if we have a pid it is actually our socks server,
|
||||||
# since runsocksserver() unlinks previous pidfile
|
# since runsocksserver() unlinks previous pidfile
|
||||||
if(!kill(0, $pid) {
|
if(!kill(0, $pid)) {
|
||||||
logmsg "RUN: SOCKS server has died after starting up\n";
|
logmsg "RUN: SOCKS server has died after starting up\n";
|
||||||
checkdied($pid)
|
checkdied($pid)
|
||||||
unlink($SOCKSPIDFILE);
|
unlink($SOCKSPIDFILE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user