public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-vdr r584 - in gentoo-vdr-scripts/trunk: . etc/init.d
@ 2008-03-31 13:02 Matthias Schwarzott (zzam)
  0 siblings, 0 replies; only message in thread
From: Matthias Schwarzott (zzam) @ 2008-03-31 13:02 UTC (permalink / raw
  To: gentoo-commits

Author: zzam
Date: 2008-03-31 13:02:48 +0000 (Mon, 31 Mar 2008)
New Revision: 584

Modified:
   gentoo-vdr-scripts/trunk/ChangeLog
   gentoo-vdr-scripts/trunk/etc/init.d/vdr
Log:
Let init-script not silently fail at stop.

Modified: gentoo-vdr-scripts/trunk/ChangeLog
===================================================================
--- gentoo-vdr-scripts/trunk/ChangeLog	2008-02-23 16:21:11 UTC (rev 583)
+++ gentoo-vdr-scripts/trunk/ChangeLog	2008-03-31 13:02:48 UTC (rev 584)
@@ -1,6 +1,9 @@
 # ChangeLog for gentoo-vdr-scripts
 # $Id$
 
+  31 Mar 2008; Matthias Schwarzott <zzam@gentoo.org> etc/init.d/vdr:
+  Let init-script not silently fail at stop.
+
 *gentoo-vdr-scripts-0.4.3 (23 Feb 2008)
 
   20 Feb 2008; Matthias Schwarzott <zzam@gentoo.org>

Modified: gentoo-vdr-scripts/trunk/etc/init.d/vdr
===================================================================
--- gentoo-vdr-scripts/trunk/etc/init.d/vdr	2008-02-23 16:21:11 UTC (rev 583)
+++ gentoo-vdr-scripts/trunk/etc/init.d/vdr	2008-03-31 13:02:48 UTC (rev 584)
@@ -95,9 +95,11 @@
 
 	# Use --name here to allow us to kill vdr even after a new emerge
 	start-stop-daemon --stop --quiet --retry 15 --exec ${VDR_BIN} 
-	eend $? "Failed to stop vdr."
+	exitcode=$?
+	eend $exitcode "Failed to stop vdr."
 
 	load_addons_prefixed post-stop
+	return $exitcode
 }
 
 # gets called by watchdog to restart vdr

-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-31 13:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-31 13:02 [gentoo-commits] gentoo-vdr r584 - in gentoo-vdr-scripts/trunk: . etc/init.d Matthias Schwarzott (zzam)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox