From bb6a3dfeeada7c246493d295edd78e512c259464 Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Mon, 14 Dec 2009 14:02:09 +0100 Subject: Make sure to surpress stderr --- etc/inc/rrd.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/rrd.inc b/etc/inc/rrd.inc index 8f5c270..97cbd30 100644 --- a/etc/inc/rrd.inc +++ b/etc/inc/rrd.inc @@ -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. -- cgit v1.1