Make sure to surpress stderr

This commit is contained in:
Seth Mos 2009-12-14 14:02:09 +01:00
parent da74e67357
commit bb6a3dfeea

View File

@ -621,7 +621,7 @@ function enable_rrd_graphing() {
}
function kill_traffic_collector() {
mwexec("ps awwwux | grep '/[u]pdaterrd.sh' | awk '{print $2}' | xargs kill");
mwexec("ps awwwux | grep '/[u]pdaterrd.sh' | awk '{print $2}' | xargs kill 2>&1");
}
/* This xml 2 array function is courtesy of the php.net comment section on xml_parse.