[arch-commits] Commit in kdebase-workspace/trunk (kdm)

Pierre Schmitz pierre at archlinux.org
Mon Feb 15 09:11:33 UTC 2010


    Date: Monday, February 15, 2010 @ 04:11:33
  Author: pierre
Revision: 68929

that never could have worked

Modified:
  kdebase-workspace/trunk/kdm

-----+
 kdm |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: kdm
===================================================================
--- kdm	2010-02-15 07:24:33 UTC (rev 68928)
+++ kdm	2010-02-15 09:11:33 UTC (rev 68929)
@@ -3,7 +3,7 @@
 . /etc/rc.conf
 . /etc/rc.d/functions
 
-PID=`pidof -o %PPID /usr/bin/kdm`
+PID=$(pidof -o %PPID /usr/bin/kdm)
 case "$1" in
   start)
     stat_busy "Starting KDE Desktop Manager"
@@ -11,7 +11,7 @@
     if [ $? -gt 0 ]; then
       stat_fail
     else
-      echo $PID > /var/run/daemons/kdm.pid
+      echo $(pidof -o %PPID /usr/bin/kdm) > /var/run/daemons/kdm.pid
       add_daemon kdm
       stat_done
     fi




More information about the arch-commits mailing list