From acfc3b87f8b2766b05864e4795f5b6db36b05520 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Wed, 27 Feb 2008 22:35:18 +0000 Subject: [PATCH] Fixed PID detection --- sshd/sshd-lib.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sshd/sshd-lib.pl b/sshd/sshd-lib.pl index 80b08b944..da9a09130 100644 --- a/sshd/sshd-lib.pl +++ b/sshd/sshd-lib.pl @@ -269,7 +269,8 @@ if ($file) { return &check_pid_file($file); } else { - return &find_byname("sshd"); + local ($rv) = &find_byname("sshd"); + return $rv; } }