[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 02/02: c/r-lintian-h: Fix thinko in the alarm handling



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit ea5ad4adfc3ddcba557ffeab70c4b8aeb7590808
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Aug 6 16:40:36 2016 +0000

    c/r-lintian-h: Fix thinko in the alarm handling
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 commands/reporting-lintian-harness.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/reporting-lintian-harness.pm b/commands/reporting-lintian-harness.pm
index 46f12be..979b76b 100644
--- a/commands/reporting-lintian-harness.pm
+++ b/commands/reporting-lintian-harness.pm
@@ -300,7 +300,7 @@ sub process_worklist {
 
         eval {
             my $time_limit
-              = time() - ($start_time + BACKLOG_PROCESSING_TIME_LIMIT);
+              = $start_time + BACKLOG_PROCESSING_TIME_LIMIT - time();
             my $count = 0;
             my $sig_handler = sub {
                 my ($signal_name) = @_;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: