diff options
-rwxr-xr-x | rhautoimport-fl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rhautoimport-fl b/rhautoimport-fl index 8044b2d..368dc8f 100755 --- a/rhautoimport-fl +++ b/rhautoimport-fl @@ -118,6 +118,7 @@ my $uri = ""; my $file = ""; my $sum_title = ""; my $sum_text = ""; +my $this_broadcast = $last_broadcast; my $i = 0; for my $entry ($feed->entries) { @@ -152,6 +153,7 @@ for my $entry ($feed->entries) { exit 1; } + $this_broadcast = $idt; last; } } @@ -204,7 +206,7 @@ close($fhs); unlink($LAST_FILE); open($fhs, '>', $LAST_FILE); -print $fhs $last_broadcast->iso8601(); +print $fhs $this_broadcast->iso8601(); close($fhs); exit $exit_code; |