From 73fb8150992d02888d083581e86b83002e0050c8 Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Thu, 6 Mar 2008 06:21:12 +0000 Subject: fix retrun value processing (regression from last patch) --- lib/Smokeping.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Smokeping.pm') 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 -- cgit v1.2.3-24-g4f1b