From 49ab117305c740d0196079a4d6e3cd1bc4167cd5 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Mon, 25 May 2009 18:00:49 +0200 Subject: [PATCH 1/1] Remove error message if no ppp0.rrd exist yet. --- src/initscripts/init.d/networking/red | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/initscripts/init.d/networking/red b/src/initscripts/init.d/networking/red index debb0d20c6..5739384228 100644 --- a/src/initscripts/init.d/networking/red +++ b/src/initscripts/init.d/networking/red @@ -365,7 +365,7 @@ case "${1}" in /etc/rc.d/init.d/connectd start # Add a NaN value to ppp0 rrd to supress spikes at reconnect rrdtool update $RRDLOG/collectd/localhost/interface/if_octets-ppp0.rrd \ - $(date +%s):: + $(date +%s):: > /dev/null 2>&1 exit 0 fi ;; @@ -424,7 +424,7 @@ case "${1}" in evaluate_retval # Add a NaN value to ppp0 rrd to supress spikes at reconnect rrdtool update $RRDLOG/collectd/localhost/interface/if_octets-ppp0.rrd \ - $(date +%s):: + $(date +%s):: > /dev/null 2>&1 fi if [ "$DEVICE" != "${GREEN_DEV}" ] && [ "$DEVICE" != "" ]; then -- 2.39.2