summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-05-12 23:19:40 +0000
committerRoy Marples <uberlord@gentoo.org>2007-05-12 23:19:40 +0000
commit57d3cdb9dd184a15c6dcb55f0415969a5333cf42 (patch)
treeccf9f6be33271533214e0f7cc31c6a1f8e1d99cc /net-dns/bind/files
parentversion bump (diff)
downloadgentoo-2-57d3cdb9dd184a15c6dcb55f0415969a5333cf42.tar.gz
gentoo-2-57d3cdb9dd184a15c6dcb55f0415969a5333cf42.tar.bz2
gentoo-2-57d3cdb9dd184a15c6dcb55f0415969a5333cf42.zip
Fix chroots for non bash shells, #178050 thanks to Pierre Guinoiseau.
(Portage version: 2.1.2.7)
Diffstat (limited to 'net-dns/bind/files')
-rwxr-xr-xnet-dns/bind/files/named.init-r44
1 files changed, 2 insertions, 2 deletions
diff --git a/net-dns/bind/files/named.init-r4 b/net-dns/bind/files/named.init-r4
index 7e18d89d8f5e..aa2b2162df55 100755
--- a/net-dns/bind/files/named.init-r4
+++ b/net-dns/bind/files/named.init-r4
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/files/named.init-r4,v 1.1 2006/10/22 18:05:21 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/files/named.init-r4,v 1.2 2007/05/12 23:19:40 uberlord Exp $
opts="start stop reload restart"
@@ -38,7 +38,7 @@ start() {
checkconfig || return 1
start-stop-daemon --start --quiet --pidfile ${PIDFILE} \
--exec /usr/sbin/named \
- -- -u named -n ${CPU} ${OPTIONS} ${CHROOT:+-t $CHROOT}
+ -- -u named -n ${CPU} ${OPTIONS} ${CHROOT:+-t} ${CHROOT}
eend $?
}