summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2009-06-13 19:31:06 +0000
committerFabian Groffen <grobian@gentoo.org>2009-06-13 19:31:06 +0000
commit9bff691f2fc150d9f955d71eaf63ddeab3ab0d70 (patch)
tree773ee041dfc1763acec80186182371978c1e1ad7 /net-ftp/oftpd/files
parentrm (diff)
downloadgentoo-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/oftpd/files')
-rw-r--r--net-ftp/oftpd/files/init.d.oftpd-r14
1 files changed, 2 insertions, 2 deletions
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