[proftpd-dfsg] 01/01: fix for init script.

Hilmar Preuße hilmar-guest at moszumanska.debian.org
Tue Dec 13 21:49:19 UTC 2016


This is an automated email from the git hooks/post-receive script.

hilmar-guest pushed a commit to branch master
in repository proftpd-dfsg.

commit 0c3a5ce9e8f13a0705f5587f2e702025626ca941
Author: Hilmar Preuße <hille42 at web.de>
Date:   Tue Dec 13 22:49:02 2016 +0100

    fix for init script.
---
 debian/changelog                  | 6 ++++++
 debian/proftpd-basic.proftpd.init | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 1af94ac..43219a1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+proftpd-dfsg (1.3.5b-2) UNRELEASED; urgency=medium
+
+  * Init script (rarely) fails in detecting pid file (Closes: #756637)
+
+ -- Hilmar Preuße <hille42 at web.de>  Tue, 13 Dec 2016 22:43:58 +0100
+
 proftpd-dfsg (1.3.5b-1) unstable; urgency=medium
 
   [ Mahyuddin Susanto ]
diff --git a/debian/proftpd-basic.proftpd.init b/debian/proftpd-basic.proftpd.init
index 01a303a..cf48512 100755
--- a/debian/proftpd-basic.proftpd.init
+++ b/debian/proftpd-basic.proftpd.init
@@ -24,7 +24,7 @@ RUN="no"
 OPTIONS=""
 CONFIG_FILE=/etc/proftpd/proftpd.conf
 
-PIDFILE=`grep -i 'pidfile' $CONFIG_FILE|sed -e 's/pidfile[\t ]\+//i'`
+PIDFILE=`grep -i 'pidfile' $CONFIG_FILE|sed -e 's/[\t ]*pidfile[\t ]\+//i'`
 if [ "x$PIDFILE" = "x" ];
 then
 	PIDFILE=/run/proftpd.pid

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-proftpd/proftpd-dfsg.git



More information about the Pkg-proftpd-maintainers mailing list