[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: correctly test whether squid is down
Holger Levsen
holger at layer-acht.org
Fri Oct 28 08:59:57 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 2aeaeb13c44c7b4f1c23f5c2768f5173b504a57d
Author: Holger Levsen <holger at layer-acht.org>
Date: Fri Oct 28 10:59:45 2016 +0200
reproducible Debian: correctly test whether squid is down
---
bin/reproducible_maintenance.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index 30fb587..e8b7918 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -46,7 +46,7 @@ set +e
# check for working proxy
echo "$(date -u) - testing whether the proxy works..."
curl http://www.debian.org > /dev/null
-if [ $? -eq 1 ] ; then
+if [ $? -ne 0 ] ; then
irc_message debian-reproducible "Proxy is down for $HOSTNAME, please tell the jenkins admins to fix this. (sudo service squid3 restart)"
exit 1
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list