diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2010-12-15 23:35:09 +0000 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2010-12-15 23:35:09 +0000 |
commit | 6884a8e7ffa637aea46be89bb3c1048a85845ad1 (patch) | |
tree | 323dc0621a92685580c3165399771823ebe110f2 /net-dns/bind/files | |
parent | Pin glib/gtk+ to slot 2. Move gettext to DEPEND, nothing links to it. (diff) | |
download | gentoo-2-6884a8e7ffa637aea46be89bb3c1048a85845ad1.tar.gz gentoo-2-6884a8e7ffa637aea46be89bb3c1048a85845ad1.tar.bz2 gentoo-2-6884a8e7ffa637aea46be89bb3c1048a85845ad1.zip |
Rework the fuser call.
(Portage version: 2.2.0_alpha8/cvs/Linux x86_64)
Diffstat (limited to 'net-dns/bind/files')
-rw-r--r-- | net-dns/bind/files/named.init-r9 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-dns/bind/files/named.init-r9 b/net-dns/bind/files/named.init-r9 index be4d7b224525..a962984f399f 100644 --- a/net-dns/bind/files/named.init-r9 +++ b/net-dns/bind/files/named.init-r9 @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/files/named.init-r9,v 1.1 2010/12/13 22:08:54 idl0r Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/files/named.init-r9,v 1.2 2010/12/15 23:35:09 idl0r Exp $ opts="start stop reload restart checkconfig checkzones" @@ -162,7 +162,7 @@ stop() { ebegin "Umounting chroot dirs" # just to be sure everything gets clean - while [ -n "$(fuser ${CHROOT} 2>/dev/null)" ]; do + while fuser -s ${CHROOT} 2>/dev/null; do if [ "${reported}" -eq 0 ]; then einfo "Waiting until all named processes are stopped" reported=1 |