summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping.pm
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2008-03-06 07:21:12 +0100
committerTobi Oetiker <tobi@oetiker.ch>2008-03-06 07:21:12 +0100
commit73fb8150992d02888d083581e86b83002e0050c8 (patch)
treed4a8f6553c543e6cc9fafd78f1ce672a4b333ba7 /lib/Smokeping.pm
parent6c15f78cac4a0b94907352c4184d6d7d5ca87164 (diff)
downloadsmokeping-73fb8150992d02888d083581e86b83002e0050c8.tar.gz
smokeping-73fb8150992d02888d083581e86b83002e0050c8.tar.xz
fix retrun value processing (regression from last patch)
Diffstat (limited to 'lib/Smokeping.pm')
-rw-r--r--lib/Smokeping.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm
index b3e37b9..ce9d8db 100644
--- a/lib/Smokeping.pm
+++ b/lib/Smokeping.pm
@@ -1856,7 +1856,8 @@ sub update_rrds($$$$$$) {
if ($tree->{slaves}){
my @slaves = split(/\s+/, $tree->{slaves});
foreach my $slave (@slaves) {
- push @updates, Smokeping::Master::get_slaveupdates($name, $slave);
+ my $lines = Smokeping::Master::get_slaveupdates($name, $slave);
+ push @updates, @$lines;
} #foreach my $checkslave
}
for my $update (sort {$a->[1] <=> $b->[1]} @updates){ # make sure we put the updates in chronological order in