Gentoo Archives: gentoo-commits

From: "Christian Ruppert (idl0r)" <idl0r@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/vnstat/files: vnstatd.initd
Date: Sun, 01 Jan 2012 01:19:25
Message-Id: 20120101011916.269672004B@flycatcher.gentoo.org
1 idl0r 12/01/01 01:19:16
2
3 Modified: vnstatd.initd
4 Log:
5 Forgot to remove a obsolete codeblock.
6
7 (Portage version: 2.1.10.41/cvs/Linux i686, RepoMan options: --force)
8
9 Revision Changes Path
10 1.6 net-analyzer/vnstat/files/vnstatd.initd
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd?r1=1.5&r2=1.6
15
16 Index: vnstatd.initd
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- vnstatd.initd 1 Jan 2012 01:18:05 -0000 1.5
23 +++ vnstatd.initd 1 Jan 2012 01:19:16 -0000 1.6
24 @@ -1,7 +1,7 @@
25 #!/sbin/runscript
26 # Copyright 1999-2012 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v 1.5 2012/01/01 01:18:05 idl0r Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v 1.6 2012/01/01 01:19:16 idl0r Exp $
30
31 extra_started_commands="reload"
32
33 @@ -31,12 +31,6 @@
34 }
35
36 reload() {
37 - if [ ! -f ${VNSTATD_PIDFILE} ]; then
38 - eerror "Cannot reload configuration, vnstatd is not running"
39 - eend 1
40 - return 1
41 - fi
42 -
43 ebegin "Reloading vnstatd configuration"
44 kill -HUP $(< "${VNSTATD_PIDFILE}") &>/dev/null
45 eend $?