summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_maintenance.sh
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2015-12-10 00:01:19 +0000
committerHolger Levsen <holger@layer-acht.org>2015-12-10 01:02:37 +0100
commitf48a6c40eac4c82b026c29a810fcc890c0f8b507 (patch)
treefd9512d4f695cd13b6f92a60b9d6caf5ce156537 /bin/reproducible_maintenance.sh
parentc56600e2bdc107fc564c51bcc1eeb00118e48376 (diff)
downloadjenkins.debian.net-f48a6c40eac4c82b026c29a810fcc890c0f8b507.tar.xz
reproducible: build/maintenance: another cases of ='' => IS NULL
Diffstat (limited to 'bin/reproducible_maintenance.sh')
-rwxr-xr-xbin/reproducible_maintenance.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index 19da9311..755987d7 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -192,7 +192,7 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
SELECT s.id, s.name, p.date_scheduled, p.date_build_started
FROM schedule AS p JOIN sources AS s ON p.package_id=s.id
WHERE p.date_scheduled != ''
- AND p.date_build_started != ''
+ AND p.date_build_started IS NOT NULL
AND p.date_build_started < datetime('now', '-36 hours')
ORDER BY p.date_scheduled
"