Gentoo Archives: gentoo-commits

From: "Matthias Schwarzott (zzam)" <zzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-vdr r584 - in gentoo-vdr-scripts/trunk: . etc/init.d
Date: Mon, 31 Mar 2008 13:02:51
Message-Id: E1JgJez-0006Tt-2I@stork.gentoo.org
1 Author: zzam
2 Date: 2008-03-31 13:02:48 +0000 (Mon, 31 Mar 2008)
3 New Revision: 584
4
5 Modified:
6 gentoo-vdr-scripts/trunk/ChangeLog
7 gentoo-vdr-scripts/trunk/etc/init.d/vdr
8 Log:
9 Let init-script not silently fail at stop.
10
11 Modified: gentoo-vdr-scripts/trunk/ChangeLog
12 ===================================================================
13 --- gentoo-vdr-scripts/trunk/ChangeLog 2008-02-23 16:21:11 UTC (rev 583)
14 +++ gentoo-vdr-scripts/trunk/ChangeLog 2008-03-31 13:02:48 UTC (rev 584)
15 @@ -1,6 +1,9 @@
16 # ChangeLog for gentoo-vdr-scripts
17 # $Id$
18
19 + 31 Mar 2008; Matthias Schwarzott <zzam@g.o> etc/init.d/vdr:
20 + Let init-script not silently fail at stop.
21 +
22 *gentoo-vdr-scripts-0.4.3 (23 Feb 2008)
23
24 20 Feb 2008; Matthias Schwarzott <zzam@g.o>
25
26 Modified: gentoo-vdr-scripts/trunk/etc/init.d/vdr
27 ===================================================================
28 --- gentoo-vdr-scripts/trunk/etc/init.d/vdr 2008-02-23 16:21:11 UTC (rev 583)
29 +++ gentoo-vdr-scripts/trunk/etc/init.d/vdr 2008-03-31 13:02:48 UTC (rev 584)
30 @@ -95,9 +95,11 @@
31
32 # Use --name here to allow us to kill vdr even after a new emerge
33 start-stop-daemon --stop --quiet --retry 15 --exec ${VDR_BIN}
34 - eend $? "Failed to stop vdr."
35 + exitcode=$?
36 + eend $exitcode "Failed to stop vdr."
37
38 load_addons_prefixed post-stop
39 + return $exitcode
40 }
41
42 # gets called by watchdog to restart vdr
43
44 --
45 gentoo-commits@l.g.o mailing list