X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bin%2Fdebbugs-loadsql;h=f37a8ef6fea4d91963c1072cf0e881827f5d8244;hb=0de3bc6bd4599f57878d7d3306f7edc79c614495;hp=6a159feec59a63ab70dcb3ead1d4eaa473b4c67a;hpb=237ee7e34a8c46985113e7cfd24fb59e92355227;p=debbugs.git diff --git a/bin/debbugs-loadsql b/bin/debbugs-loadsql index 6a159fe..f37a8ef 100755 --- a/bin/debbugs-loadsql +++ b/bin/debbugs-loadsql @@ -299,7 +299,7 @@ sub add_bugs { next; } my $rs = $s->resultset('Bug')->search({id=>$bug})->single(); - next if defined $rs and $stat->mtime < $rs->last_modified()->epoch(); + next if defined $rs and $stat->mtime <= $rs->last_modified()->epoch(); push @bugs_to_update, $bug; } } else { @@ -569,7 +569,7 @@ sub add_logs { } if ($options{quick}) { my $rs = $s->resultset('Bug')->search({bug=>$bug})->single(); - next if defined $rs and $stat->mtime < $rs->last_modified()->epoch(); + next if defined $rs and $stat->mtime <= $rs->last_modified()->epoch(); } eval { load_bug_log(db => $s,