From: Don Armstrong Date: Thu, 10 Aug 2017 00:51:07 +0000 (-0700) Subject: use return, not next inside of sub X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=843f99899246e5de77be737c59dd336fb6783948 use return, not next inside of sub --- diff --git a/bin/debbugs-loadsql b/bin/debbugs-loadsql index 9597447..f343c97 100755 --- a/bin/debbugs-loadsql +++ b/bin/debbugs-loadsql @@ -563,7 +563,7 @@ sub add_logs { if ($options{quick}) { my $rs = $s->resultset('Bug')-> search({id=>$bug})->single(); - next if defined $rs and + return if defined $rs and $stat->mtime <= $rs->last_modified()->epoch(); } eval {