From f6a227e82b899497b94e529f6720e057f81f3355 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Kr=C3=BCger?= Date: Fri, 5 Nov 2010 02:46:51 +0100 Subject: [PATCH] jobd: fix flipped boolean logic in nofetch check MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Apparently you have to use the right boolean operator or jobd will update precisely those projects that don't want to be updated. Hum. Signed-off-by: Jan Krüger --- jobd/jobd.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobd/jobd.pl b/jobd/jobd.pl index 5b3ed8b..5dd84fc 100755 --- a/jobd/jobd.pl +++ b/jobd/jobd.pl @@ -29,7 +29,7 @@ sub update_project { my $job = shift; my $p = $job->{'project'}; check_project_exists($job) || return; - (-e "$Girocco::Config::reporoot/$p.git/.nofetch") || do { + (-e "$Girocco::Config::reporoot/$p.git/.nofetch") && do { job_skip($job); return; }; -- 2.11.4.GIT