lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1114 - nss-pam-ldapd/debian

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1114 - nss-pam-ldapd/debian



Author: arthur
Date: Sun May 23 21:33:56 2010
New Revision: 1114
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1114

Log:
use nslcd --check in init script's status command

Modified:
   nss-pam-ldapd/debian/nslcd.init

Modified: nss-pam-ldapd/debian/nslcd.init
==============================================================================
--- nss-pam-ldapd/debian/nslcd.init     Sat May 22 15:12:39 2010        (r1113)
+++ nss-pam-ldapd/debian/nslcd.init     Sun May 23 21:33:56 2010        (r1114)
@@ -79,7 +79,7 @@
 status)
   if [ -f "$NSLCD_PIDFILE" ]
   then
-    if kill -s 0 `cat $NSLCD_PIDFILE` > /dev/null 2>&1
+    if $NSLCD_BIN --check
     then
       log_success_msg "nslcd running (pid `cat $NSLCD_PIDFILE`)"
       exit 0
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits