Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/libnss-ldapd.nslcd.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/libnss-ldapd.nslcd.init b/debian/libnss-ldapd.nslcd.init
index 118971b..f0eaf3c 100644
--- a/debian/libnss-ldapd.nslcd.init
+++ b/debian/libnss-ldapd.nslcd.init
@@ -60,7 +60,7 @@ stop)
--pidfile $NSLCD_PIDFILE \
--name nslcd
log_end_msg $?
- [ -n "$PIDFILE" ] && rm -f $NSLCD_PIDFILE
+ [ -n "$NSLCD_PIDFILE" ] && rm -f $NSLCD_PIDFILE
;;
restart|force-reload)
[ -d "$NSLCD_STATEDIR" ] || mkdir "$NSLCD_STATEDIR"
@@ -68,7 +68,7 @@ restart|force-reload)
start-stop-daemon --stop --quiet --retry 10 \
--pidfile $NSLCD_PIDFILE \
--name nslcd
- [ -n "$PIDFILE" ] && rm -f $NSLCD_PIDFILE
+ [ -n "$NSLCD_PIDFILE" ] && rm -f $NSLCD_PIDFILE
start-stop-daemon --start \
--pidfile $NSLCD_PIDFILE \
--startas $NSLCD_BIN