summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2013-01-14 02:58:52 +0000
committerMike Gilbert <floppym@gentoo.org>2013-01-14 02:58:52 +0000
commit20e235b4eb5003702fac53caaf8e7eae64f54567 (patch)
treef3594b711b302fcf1b50ab8336ffd01c054958c4 /net-ftp
parentshould fix the unittest2 bug 450654 (diff)
downloadgentoo-2-20e235b4eb5003702fac53caaf8e7eae64f54567.tar.gz
gentoo-2-20e235b4eb5003702fac53caaf8e7eae64f54567.tar.bz2
gentoo-2-20e235b4eb5003702fac53caaf8e7eae64f54567.zip
Use checkpath instead of mkdir in init script.
(Portage version: 2.2.0_alpha151/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/proftpd/ChangeLog7
-rw-r--r--net-ftp/proftpd/files/proftpd.initd6
2 files changed, 8 insertions, 5 deletions
diff --git a/net-ftp/proftpd/ChangeLog b/net-ftp/proftpd/ChangeLog
index 9bd09626e415..5761a1a7d037 100644
--- a/net-ftp/proftpd/ChangeLog
+++ b/net-ftp/proftpd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-ftp/proftpd
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/ChangeLog,v 1.291 2012/09/19 08:27:54 voyageur Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/ChangeLog,v 1.292 2013/01/14 02:58:52 floppym Exp $
+
+ 14 Jan 2013; Mike Gilbert <floppym@gentoo.org> files/proftpd.initd:
+ Use checkpath instead of mkdir in init script.
*proftpd-1.3.4b (19 Sep 2012)
diff --git a/net-ftp/proftpd/files/proftpd.initd b/net-ftp/proftpd/files/proftpd.initd
index fe399a71d91e..4da855ade194 100644
--- a/net-ftp/proftpd/files/proftpd.initd
+++ b/net-ftp/proftpd/files/proftpd.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/files/proftpd.initd,v 1.4 2011/09/28 09:47:22 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/files/proftpd.initd,v 1.5 2013/01/14 02:58:52 floppym Exp $
extra_started_commands="reload"
@@ -26,7 +26,7 @@ check_configuration() {
}
start() {
- [ -d /var/run/proftpd ] || mkdir /var/run/proftpd
+ checkpath -d /var/run/proftpd
[ "${RC_CMD}" = "restart" ] || check_configuration || return 1
ebegin "Starting ProFTPD"
start-stop-daemon --start --quiet \