From: Arne Fitzenreiter Date: Mon, 25 May 2009 16:00:49 +0000 (+0200) Subject: Remove error message if no ppp0.rrd exist yet. X-Git-Tag: v2.5-rc1~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=49ab117305c740d0196079a4d6e3cd1bc4167cd5;p=ipfire-2.x.git Remove error message if no ppp0.rrd exist yet. --- 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