diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2014-12-23 17:26:55 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-12-23 17:26:55 +0000 |
commit | 27e58a6239001524a6c8b3fa6427ae17e44eda8b (patch) | |
tree | 887134d6dfe112ce35ec47def172f7c914994021 /net-misc/tor/files | |
parent | Drop duplicate dep on eselect-vi. (diff) | |
download | historical-27e58a6239001524a6c8b3fa6427ae17e44eda8b.tar.gz historical-27e58a6239001524a6c8b3fa6427ae17e44eda8b.tar.bz2 historical-27e58a6239001524a6c8b3fa6427ae17e44eda8b.zip |
Fix cosmetics in tor.initd-r7
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'net-misc/tor/files')
-rw-r--r-- | net-misc/tor/files/tor.initd-r7 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net-misc/tor/files/tor.initd-r7 b/net-misc/tor/files/tor.initd-r7 index f6a67d024c66..466f952af5b7 100644 --- a/net-misc/tor/files/tor.initd-r7 +++ b/net-misc/tor/files/tor.initd-r7 @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/files/tor.initd-r7,v 1.1 2014/09/23 23:14:00 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/files/tor.initd-r7,v 1.2 2014/12/23 17:26:49 blueness Exp $ PIDFILE=/var/run/tor/tor.pid CONFFILE=/etc/tor/torrc @@ -63,10 +63,13 @@ graceful() { } gracefulstop() { + local rc=0 ebegin "Gracefully stopping Tor" ebegin "This can take up to ${GRACEFUL_TIMEOUT} seconds" start-stop-daemon -P --stop --signal INT -R ${GRACEFUL_TIMEOUT} --pidfile "${PIDFILE}" --exec /usr/bin/tor -- --PidFile "${PIDFILE}" - eend $? + rc=$? + eend "done" + eend $rc } reload() { |