From 2aeaeb13c44c7b4f1c23f5c2768f5173b504a57d Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 28 Oct 2016 10:59:45 +0200 Subject: 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 30fb587e..e8b79185 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 -- cgit v1.2.3-70-g09d2