Commit 46ba8e16 authored by Kirk Webb's avatar Kirk Webb
Browse files

Minor fixup.

parent 6ab70e32
......@@ -258,9 +258,9 @@ sub get_stats($$$;$) {
RRDs::fetch($rrdfile, $dtype, "--start=$start", "--end=$end",
if (RRDs::error) {
warn "Could not get interface data from $rrdfile: ". RRDs::error ."\n"
warn "Could not get data from $rrdfile: ". RRDs::error ."\n"
if (!$g_silent);
return [];
my $hasvalues = 0; # track whether or not any data exists.
my @tmpvals = ($header,);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment