tazpanel diff index.cgi @ rev 592
Hide procps's "ps" warning (on boot log and more) like: "Unknown HZ value! (70) Assume 100."
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 23 16:31:22 2016 +0300 (2016-05-23) |
parents | a15373a181ff |
children | b39fc0acf12a |
line diff
1.1 --- a/index.cgi Thu Dec 10 04:11:45 2015 +0200 1.2 +++ b/index.cgi Mon May 23 16:31:22 2016 +0300 1.3 @@ -543,7 +543,7 @@ 1.4 cat <<EOT 1.5 <section> 1.6 <header> 1.7 - $(ps auxww | sed "/^ *$curpid /!d") 1.8 + $(ps auxww 2>/dev/null | sed "/^ *$curpid /!d") 1.9 <form> 1.10 <input type="hidden" name="top"/> 1.11 <button type="submit" data-icon="@remove@" name="kill" value="$curpid">$(_ 'Kill')</button>