summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-12-23 17:26:49 +0000
committerAnthony G. Basile <blueness@gentoo.org>2014-12-23 17:26:49 +0000
commit01085d41c216597898016ea87fade541fe9eeb26 (patch)
tree36f59132781614431b7c09ad076f16cf78e597dc /net-misc
parentDrop duplicate dep on eselect-vi. (diff)
downloadgentoo-2-01085d41c216597898016ea87fade541fe9eeb26.tar.gz
gentoo-2-01085d41c216597898016ea87fade541fe9eeb26.tar.bz2
gentoo-2-01085d41c216597898016ea87fade541fe9eeb26.zip
Fix cosmetics in tor.initd-r7
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/tor/ChangeLog5
-rw-r--r--net-misc/tor/files/tor.initd-r77
2 files changed, 9 insertions, 3 deletions
diff --git a/net-misc/tor/ChangeLog b/net-misc/tor/ChangeLog
index 63b795270135..70dbd673e3db 100644
--- a/net-misc/tor/ChangeLog
+++ b/net-misc/tor/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/tor
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.449 2014/11/21 23:51:22 tamiko Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.450 2014/12/23 17:26:49 blueness Exp $
+
+ 23 Dec 2014; Anthony G. Basile <blueness@gentoo.org> files/tor.initd-r7:
+ Fix cosmetics in tor.initd-r7
*tor-0.2.6.1_alpha-r3 (21 Nov 2014)
*tor-0.2.5.10-r3 (21 Nov 2014)
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() {