diff options
| author | Paul Buetow <paul@buetow.org> | 2010-11-07 11:16:26 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2010-11-07 11:16:26 +0000 |
| commit | 8f218f6d690646a1c9e095029521935f9787e093 (patch) | |
| tree | fb331b63f1a1b8e3b3531aed4aaa4b32a97c595a /cpuload.pl | |
| parent | 8616ce2871f0dff62a9bb240cd070c8c7a3db504 (diff) | |
added undefined
Diffstat (limited to 'cpuload.pl')
| -rwxr-xr-x | cpuload.pl | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -168,6 +168,8 @@ sub graph_stats ($$) { for my $key (sort keys %STATS) { my ($host, $name) = split ';', $key; + next unless defined $STATS{$key}; + my %stat = map { my ($k, $v) = split '='; $k => $v } split ';', $STATS{$key}; unless (exists $prev_stats{$key}) { |
