summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2013-11-10 15:53:29 +0000
committerTom Wijsman <tomwij@gentoo.org>2013-11-10 15:53:29 +0000
commitd31a017b9e30f649f9b8ad2951e24553742b3ef2 (patch)
treee5a00f49e849addf3b71d7dadc8091e2f24ee67f /net-fs/autofs/files
parentMask llvm flag until sys-devel/llvm is keyworded, bug #320221. (diff)
downloadgentoo-2-d31a017b9e30f649f9b8ad2951e24553742b3ef2.tar.gz
gentoo-2-d31a017b9e30f649f9b8ad2951e24553742b3ef2.tar.bz2
gentoo-2-d31a017b9e30f649f9b8ad2951e24553742b3ef2.zip
Fix up bashism in the init script, proxied commit for Dennis 'dlan' Lan
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'net-fs/autofs/files')
-rw-r--r--net-fs/autofs/files/autofs5.initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-fs/autofs/files/autofs5.initd b/net-fs/autofs/files/autofs5.initd
index bd3f14f0bdb4..939444e0218c 100644
--- a/net-fs/autofs/files/autofs5.initd
+++ b/net-fs/autofs/files/autofs5.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/files/autofs5.initd,v 1.3 2011/10/05 14:27:26 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/files/autofs5.initd,v 1.4 2013/11/10 15:53:29 tomwij Exp $
DAEMON=/usr/sbin/automount
PIDFILE=/var/run/autofs.pid
@@ -64,7 +64,7 @@ reload() {
if [ ! -r "${PIDFILE}" ]; then
eend 1 "automount not running"
else
- kill -HUP $(cat "${PIDFILE}") 2> /dev/null
+ kill -s HUP $(cat "${PIDFILE}") 2> /dev/null
eend $?
fi
}