r710 - in /trunk/boinc/debian: boinc-client.init changelog
fst-guest at users.alioth.debian.org
fst-guest at users.alioth.debian.org
Wed Sep 26 11:43:11 UTC 2007
Author: fst-guest
Date: Wed Sep 26 11:43:10 2007
New Revision: 710
URL: http://svn.debian.org/wsvn/pkg-boinc/?sc=1&rev=710
Log:
debian/boinc-client.init: Print the scheduling status of boinc_client's
children only if there are any present, otherwise schedtool would be
called without arguments and would print its usage text.
Modified:
trunk/boinc/debian/boinc-client.init
trunk/boinc/debian/changelog
Modified: trunk/boinc/debian/boinc-client.init
URL: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc/debian/boinc-client.init?rev=710&op=diff
==============================================================================
--- trunk/boinc/debian/boinc-client.init (original)
+++ trunk/boinc/debian/boinc-client.init Wed Sep 26 11:43:10 2007
@@ -135,8 +135,12 @@
if [ -x "`which schedtool 2>/dev/null`" ]; then
log_success_msg "Scheduling of $DESC:"
schedtool $pid
- log_success_msg "Scheduling of $DESC's children:"
- schedtool `ps --ppid $pid -o pid= | tr '\n' ' '`
+
+ children=`ps --ppid $pid -o pid= | tr '\n' ' '`
+ if [ ! -z "$children" ]; then
+ log_success_msg "Scheduling of $DESC's children:"
+ schedtool $children
+ fi
fi
else
log_success_msg "$STATUS stopped."
Modified: trunk/boinc/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc/debian/changelog?rev=710&op=diff
==============================================================================
--- trunk/boinc/debian/changelog (original)
+++ trunk/boinc/debian/changelog Wed Sep 26 11:43:10 2007
@@ -5,8 +5,11 @@
because this is now a propper debian/control field supported by dpkg.
- Removed XS- prefix from Vcs fields since they are now officially
supported by dpkg.
-
- -- Frank S. Thomas <frank at thomas-alfeld.de> Fri, 21 Sep 2007 09:42:14 +0200
+ * debian/boinc-client.init: Print the scheduling status of boinc_client's
+ children only if there are any present, otherwise schedtool would be
+ called without arguments and would print its usage text.
+
+ -- Frank S. Thomas <frank at thomas-alfeld.de> Wed, 26 Sep 2007 13:36:13 +0200
boinc (5.10.8-2) unstable; urgency=low
More information about the pkg-boinc-commits
mailing list