[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible: remove useless/non-working " || true"

Holger Levsen gitlab at salsa.debian.org
Wed Sep 26 14:02:13 BST 2018


Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
4b59b8d6 by Holger Levsen at 2018-09-26T13:02:02Z
reproducible: remove useless/non-working " || true"

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_archlinux_scheduler.sh


Changes:

=====================================
bin/reproducible_archlinux_scheduler.sh
=====================================
@@ -116,7 +116,7 @@ update_archlinux_repositories() {
 							SCHEDULED=$(query_db "SELECT * FROM schedule WHERE package_id = '${PKG_ID}';")
 							if [ -z "$SCHEDULED" ] ; then
 								echo " INSERT INTO schedule (package_id, date_scheduled) VALUES ('${PKG_ID}', '$DATE');"
-								query_db "INSERT INTO schedule (package_id, date_scheduled) VALUES ('${PKG_ID}', '$DATE');" ||true
+								query_db "INSERT INTO schedule (package_id, date_scheduled) VALUES ('${PKG_ID}', '$DATE');"
 							else
 								echo " $PKG (package_id: ${PKG_ID}) already scheduled, not scheduling again."
 							fi



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/4b59b8d6767ca263f9363fd8ab4963d0fb86daae

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/4b59b8d6767ca263f9363fd8ab4963d0fb86daae
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20180926/b5d0754b/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list