Skip to content

Commit

Permalink
misplaced avoidance
Browse files Browse the repository at this point in the history
  • Loading branch information
lemming552 committed May 2, 2015
1 parent 5e3ab6a commit 90b63aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/upgrade_all.pl
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,6 @@ sub bstats {
my @sarr;
my $pending = 0;
for my $bid (keys %$bhash) {
next unless (scalar @{$opts{id}} == 0 or grep { $bid eq $_ } @{$opts{id}});
if ($bhash->{$bid}->{name} eq "Development Ministry") {
$dlevel = $bhash->{$bid}->{level};
}
Expand All @@ -433,6 +432,7 @@ sub bstats {
if ($bhash->{$bid}->{pending_build}->{seconds_remaining} > $pending);
}
else {
next unless (scalar @{$opts{id}} == 0 or grep { $bid eq $_ } @{$opts{id}});
my $doit = check_type($bhash->{$bid});
$doit = 0 if ($berr->{$bid});
if ($doit) {
Expand Down

0 comments on commit 90b63aa

Please sign in to comment.