From 843f99899246e5de77be737c59dd336fb6783948 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Wed, 9 Aug 2017 17:51:07 -0700 Subject: [PATCH] use return, not next inside of sub --- bin/debbugs-loadsql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.2