Group :: Sciences/Other
RPM: boinc
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: fix-boinc-client-service.patch
Download
Download
client/scripts/boinc-client.in | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/client/scripts/boinc-client.in b/client/scripts/boinc-client.in
index 920dbfc..e0f12e0 100755
--- a/client/scripts/boinc-client.in
+++ b/client/scripts/boinc-client.in
@@ -193,13 +193,16 @@ else
fi
function echo_success () { $printcol "[OK]" ; }
function echo_failure () { $printcol "[FAILED]" ; }
- function echo_warning () { $printcol "[WARNING]" ; }
- function killproc() {
- PID=`local_pidof $1`
- [ $PID ] && kill $PID
- }
fi
+function echo_warning () {
+ printf '\033[60G%s' "[WARNING]"
+}
+function killproc() {
+ PID=`local_pidof $1`
+ [ $PID ] && kill $PID
+}
+
# check if we have pidof. If not use ps and grep for the same job.
if [ -x /sbin/pidof ] ; then
function local_pidof() {