[Python-apps-commits] r4939 - in packages/sabnzbdplus/trunk/debian (sabnzbdplus.init)
jcfp-guest at users.alioth.debian.org
jcfp-guest at users.alioth.debian.org
Wed Mar 10 21:56:11 UTC 2010
Date: Wednesday, March 10, 2010 @ 21:56:10
Author: jcfp-guest
Revision: 4939
strip overly verbose msg from init
Modified:
packages/sabnzbdplus/trunk/debian/sabnzbdplus.init
Modified: packages/sabnzbdplus/trunk/debian/sabnzbdplus.init
===================================================================
--- packages/sabnzbdplus/trunk/debian/sabnzbdplus.init 2010-03-10 18:52:08 UTC (rev 4938)
+++ packages/sabnzbdplus/trunk/debian/sabnzbdplus.init 2010-03-10 21:56:10 UTC (rev 4939)
@@ -49,10 +49,7 @@
# returns 0 when running, 1 otherwise
PID="$(pgrep -f -x -u $USER "$PYTHONEXEC $DAEMON $DEFOPTS.*")"
RET=$?
- [ $RET -gt 1 ] && {
- log_failure_msg "$DESC: fatal pgrep error ($RET), aborting";
- exit 1; }
- return $RET
+ [ $RET -gt 1 ] && exit 1 || return $RET
}
load_settings() {
More information about the Python-apps-commits
mailing list