[Python-apps-commits] r14273 - in packages/sabnzbdplus/trunk/debian (sabnzbdplus.init)

jcfp-guest at users.alioth.debian.org jcfp-guest at users.alioth.debian.org
Thu Jul 20 10:07:36 UTC 2017


    Date: Thursday, July 20, 2017 @ 10:07:35
  Author: jcfp-guest
Revision: 14273

make try-restart code easier to read

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

Modified: packages/sabnzbdplus/trunk/debian/sabnzbdplus.init
===================================================================
--- packages/sabnzbdplus/trunk/debian/sabnzbdplus.init	2017-07-20 06:59:32 UTC (rev 14272)
+++ packages/sabnzbdplus/trunk/debian/sabnzbdplus.init	2017-07-20 10:07:35 UTC (rev 14273)
@@ -102,7 +102,7 @@
 	;;
 	force-reload|restart|try-restart)
 		[ "$1" = 'try-restart' ] && {
-			load_settings && is_running || exit 0
+			(load_settings && is_running) || exit 0
 		}
 		stop_sab
 		start_sab




More information about the Python-apps-commits mailing list