[arch-commits] Commit in openssh/trunk (sshd)

Pierre Schmitz pierre at archlinux.org
Wed Mar 10 12:28:46 UTC 2010


    Date: Wednesday, March 10, 2010 @ 07:28:46
  Author: pierre
Revision: 71827

Revert 'Use pidof instead of trusting the pid file'; fixes FS#18611

Modified:
  openssh/trunk/sshd

------+
 sshd |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: sshd
===================================================================
--- sshd	2010-03-10 12:10:24 UTC (rev 71826)
+++ sshd	2010-03-10 12:28:46 UTC (rev 71827)
@@ -4,7 +4,7 @@
 . /etc/rc.d/functions
 . /etc/conf.d/sshd
 
-PID=$(pidof -o %PPID /usr/sbin/sshd)
+PID=`cat /var/run/sshd.pid 2>/dev/null`
 case "$1" in
   start)
     stat_busy "Starting Secure Shell Daemon"




More information about the arch-commits mailing list