commit 363b429f390641e08955b1dbeb7f8f3b1a33c84d parent 149099831e75f8f683e0016c1f451c42b3b465d5 Author: Marcello Stanisci <stanisci.m@gmail.com> Date: Tue, 4 Jun 2019 23:17:53 +0200 ux Diffstat:
| M | buildbot/checks.sh | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/buildbot/checks.sh b/buildbot/checks.sh @@ -21,12 +21,12 @@ error_stringify () case $1 in 28) echo "connection timed out" ;; 7) echo "failed to connect to host" ;; - 0) echo "not a error, curl went fine" ;; + 0) echo "successful" ;; *) echo "unknown, see curl man page" ;; esac } -error_fmt="%s (http status code: %s)/(curl exit code: %s - %s)\n" +error_fmt="%s (http status code: %s)/(curl condition: %s - %s)\n" URL="https://exchange.${DEPLOYMENT}.${DOMAIN}/" http_status_code=$(curl \