[Python-apps-commits] r2560 - in packages/sabnzbdplus/trunk/debian (2 files)

jcfp-guest at users.alioth.debian.org jcfp-guest at users.alioth.debian.org
Sun Mar 8 12:24:16 UTC 2009


    Date: Sunday, March 8, 2009 @ 12:24:15
  Author: jcfp-guest
Revision: 2560

Fix exit status of init script when files missing

Modified:
  packages/sabnzbdplus/trunk/debian/copyright
  packages/sabnzbdplus/trunk/debian/sabnzbdplus.init

Modified: packages/sabnzbdplus/trunk/debian/copyright
===================================================================
--- packages/sabnzbdplus/trunk/debian/copyright	2009-03-07 19:58:13 UTC (rev 2559)
+++ packages/sabnzbdplus/trunk/debian/copyright	2009-03-08 12:24:15 UTC (rev 2560)
@@ -8,7 +8,7 @@
 	The SABnzbd-Team <team at sabnzbd.org>
 
 Copyright:
-	Copyright (C) 2007-2009 by The SABnzbd-Team <team at sabnzbd.org>
+	Copyright (C) 2008-2009 by The SABnzbd-Team <team at sabnzbd.org>
 
 License:
 	This program is free software; you can redistribute it and/or

Modified: packages/sabnzbdplus/trunk/debian/sabnzbdplus.init
===================================================================
--- packages/sabnzbdplus/trunk/debian/sabnzbdplus.init	2009-03-07 19:58:13 UTC (rev 2559)
+++ packages/sabnzbdplus/trunk/debian/sabnzbdplus.init	2009-03-08 12:24:15 UTC (rev 2560)
@@ -14,7 +14,7 @@
 
 DAEMON=/usr/bin/sabnzbdplus
 
-[ -x $DAEMON ] || exit 1
+[ -x $DAEMON ] || exit 0
 
 NAME=$(basename $DAEMON)
 DESC="SABnzbd+ binary newsgrabber"
@@ -40,7 +40,7 @@
 }
 
 load_settings() {
-	[ -r $SETTINGS ] || exit 1
+	[ -r $SETTINGS ] || exit 0
 	. $SETTINGS
 
 	[ -z "$USER" ] && {




More information about the Python-apps-commits mailing list