From 796b9c369206991ee23acb99e827a02aa9840158 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 9 Oct 2011 16:19:16 +0000 Subject: Fix simple bashism in init.d script #386483 by Faustus. (Portage version: 2.2.0_alpha59/cvs/Linux x86_64) --- net-misc/htpdate/files/htpdate.init | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'net-misc/htpdate/files') diff --git a/net-misc/htpdate/files/htpdate.init b/net-misc/htpdate/files/htpdate.init index 8d40d93ed38f..090f0586f5ce 100644 --- a/net-misc/htpdate/files/htpdate.init +++ b/net-misc/htpdate/files/htpdate.init @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/htpdate/files/htpdate.init,v 1.3 2006/08/24 02:23:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/htpdate/files/htpdate.init,v 1.4 2011/10/09 16:19:16 vapier Exp $ depend() { need net @@ -9,7 +9,7 @@ depend() { } checkconfig() { - if [[ -z ${SERVERS} ]] ; then + if [ -z "${SERVERS}" ] ; then eerror "You need to set at least one http server to use in /etc/conf.d/htpdate" return 1 fi -- cgit v1.2.3-65-gdbad