From: Arne Fitzenreiter Date: Sun, 28 Sep 2008 17:01:11 +0000 (+0200) Subject: Fix makegraphs settings readerror X-Git-Tag: v2.3-beta4~14^2~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=34c267f3a212a771b7740dbdfbfca66d3c787887;p=ipfire-2.x.git Fix makegraphs settings readerror --- diff --git a/src/scripts/makegraphs b/src/scripts/makegraphs index 72bf77dbad..5369ab9d9e 100644 --- a/src/scripts/makegraphs +++ b/src/scripts/makegraphs @@ -46,7 +46,7 @@ sub updatehdddata my $standby; my @array = split(/\//,$disk); - if ( ! -e "$rrdlog/hddshutdown-".$array[$#array].".rrd"){ + if ( ! -e "$mainsettings{'RRDLOG'}/hddshutdown-".$array[$#array].".rrd"){ # database did not exist -> create RRDs::create ("$mainsettings{'RRDLOG'}/hddshutdown-".$array[$#array].".rrd", "--step=300", "DS:standby:GAUGE:600:0:1",