Notify.php
authorAlan Knowles <alan@akbkhome.com>
Sun, 16 Jun 2013 13:58:51 +0000 (21:58 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sun, 16 Jun 2013 13:58:51 +0000 (21:58 +0800)
Notify.php

index 1b00e61..60c462b 100644 (file)
@@ -311,7 +311,7 @@ class Pman_Core_Notify extends Pman
         $info =  proc_get_status($p);
         
         if ($this->nice_level !== false) { 
-            $rcmd = "$renice 19 {$info['pid']}";
+            $rcmd = "$renice {$this->nice_level} {$info['pid']}";
             `$rcmd`;
         } 
         $this->pool[] = array(