diff options
author | Fabian Groffen <grobian@gentoo.org> | 2009-06-13 19:31:06 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2009-06-13 19:31:06 +0000 |
commit | 9bff691f2fc150d9f955d71eaf63ddeab3ab0d70 (patch) | |
tree | 773ee041dfc1763acec80186182371978c1e1ad7 /net-ftp | |
parent | rm (diff) | |
download | gentoo-2-9bff691f2fc150d9f955d71eaf63ddeab3ab0d70.tar.gz gentoo-2-9bff691f2fc150d9f955d71eaf63ddeab3ab0d70.tar.bz2 gentoo-2-9bff691f2fc150d9f955d71eaf63ddeab3ab0d70.zip |
(Non-maintainer commit) Fix bug #273440, patch by Lars Wendler (Polynomial-C)
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'net-ftp')
-rw-r--r-- | net-ftp/oftpd/ChangeLog | 5 | ||||
-rw-r--r-- | net-ftp/oftpd/files/init.d.oftpd-r1 | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/net-ftp/oftpd/ChangeLog b/net-ftp/oftpd/ChangeLog index 7039413ea34b..981da3fc25fd 100644 --- a/net-ftp/oftpd/ChangeLog +++ b/net-ftp/oftpd/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-ftp/oftpd # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/ChangeLog,v 1.26 2009/05/29 14:00:05 rbu Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/ChangeLog,v 1.27 2009/06/13 19:31:06 grobian Exp $ + + 13 Jun 2009; Fabian Groffen <grobian@gentoo.org> files/init.d.oftpd-r1: + (Non-maintainer commit) Fix bug #273440, patch by Lars Wendler (Polynomial-C) *oftpd-0.3.7-r4 (29 May 2009) diff --git a/net-ftp/oftpd/files/init.d.oftpd-r1 b/net-ftp/oftpd/files/init.d.oftpd-r1 index 43736cc594a2..a910b92fa188 100644 --- a/net-ftp/oftpd/files/init.d.oftpd-r1 +++ b/net-ftp/oftpd/files/init.d.oftpd-r1 @@ -1,14 +1,14 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/files/init.d.oftpd-r1,v 1.2 2009/05/29 14:00:06 rbu Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/files/init.d.oftpd-r1,v 1.3 2009/06/13 19:31:06 grobian Exp $ depend() { need net } checkconfig() { - if [[ -z ${FTPUSER} || -z ${FTPROOT} || -z ${FTPPORT} ] ; then + if [ -z "${FTPUSER}" ] || [ -z "${FTPROOT}" ] || [ -z "${FTPPORT}" ] ; then eerror "You need to setup FTPUSER, FTPROOT and FTPPORT in /etc/conf.d/oftpd" return 1 fi |