Hi Daniel,

On Thursday 17 April 2008 02:33, Daniel Hahler wrote:
> ** Attachment added: "debdiff for Hardy"
>    http://launchpadlibrarian.net/13530861/boinc_5.10.45-1ubuntu1.dsc.diff

     if [ ! -x "`which ionice 2>/dev/null`" ]; then
       log_progress_msg "ionice not found,"
     else
-      ionice -c 3 -p $pid
-      log_progress_msg "idle,"
+      if ionice -c 3 -p $pid 2>/dev/null; then
+        log_progress_msg "idle,"
+      else
+        log_progress_msg "idle not allowed,"
+      fi
     fi

If ionice fails does this always means that "ioprio_set" is not allowed? If 
the answer to this question is no, I would rather suggest to echo a more 
generic message like "ionice failed," or something similar.

If you want to, you can commit this into boinc's trunk.

Cheers,
-- 
Frank S. Thomas <[EMAIL PROTECTED]>           PGP public key ID: 0xDC426429
Debian Developer                            finger fst/[EMAIL PROTECTED]


** Attachment added: "unnamed"
   http://launchpadlibrarian.net/13535096/unnamed

-- 
boinc-client fails to install/start, if ioprio_set is not allowed
https://bugs.launchpad.net/bugs/218468
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to