diff options
author | 2011-10-09 16:19:16 +0000 | |
---|---|---|
committer | 2011-10-09 16:19:16 +0000 | |
commit | 796b9c369206991ee23acb99e827a02aa9840158 (patch) | |
tree | b617061d04494698c79db833c067e25750976623 /net-misc/htpdate/files | |
parent | alpha/sparc stable wrt #382225 (diff) | |
download | gentoo-2-796b9c369206991ee23acb99e827a02aa9840158.tar.gz gentoo-2-796b9c369206991ee23acb99e827a02aa9840158.tar.bz2 gentoo-2-796b9c369206991ee23acb99e827a02aa9840158.zip |
Fix simple bashism in init.d script #386483 by Faustus.
(Portage version: 2.2.0_alpha59/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/htpdate/files')
-rw-r--r-- | net-misc/htpdate/files/htpdate.init | 6 |
1 files changed, 3 insertions, 3 deletions
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 |