commit b29d0dd608b6840d1c950216b5a50c5ebf0bb8ab
parent fccfedb664fc166a241793ec5e2737c51ff530ac
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Tue, 9 Jan 2018 16:35:13 +0100
enclose error string between "(s)
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/buildbot/checks.sh b/buildbot/checks.sh
@@ -26,7 +26,7 @@ http_status_code=$(curl \
if ! test 200 = $http_status_code; then
printf "$error_fmt" \
"Exchange did not restart correctly" \
- $http_status_code $? $(error_stringify $?)
+ $http_status_code $? "$(error_stringify $?)"
exit 1
fi
@@ -37,7 +37,7 @@ http_status_code=$(curl \
if ! test 200 = $http_status_code; then
printf "$error_fmt" \
"Merchant backend did not restart correctly" \
- $http_status_code $? $(error_stringify $?)
+ $http_status_code $? "$(error_stringify $?)"
exit 1
fi
@@ -48,7 +48,7 @@ http_status_code=$(curl \
if ! test 200 = $http_status_code; then
printf "$error_fmt" \
"Blog did not restart correctly" \
- $http_status_code $? $(error_stringify $?)
+ $http_status_code $? "$(error_stringify $?)"
exit 1
fi
@@ -59,7 +59,7 @@ http_status_code=$(curl \
if ! test 200 = $http_status_code; then
printf "$error_fmt" \
"Donations shop did not restart correctly" \
- $http_status_code $? $(error_stringify $?)
+ $http_status_code $? "$(error_stringify $?)"
exit 1
fi
@@ -70,7 +70,7 @@ http_status_code=$(curl \
if ! test 302 = $http_status_code; then
printf "$error_fmt" \
"Bank did not restart correctly" \
- $http_status_code $? $(error_stringify $?)
+ $http_status_code $? "$(error_stringify $?)"
exit 1
fi
@@ -81,6 +81,6 @@ http_status_code=$(curl \
if ! test 200 = $http_status_code; then
printf "$error_fmt" \
"Landing page not restart correctly" \
- $http_status_code $? $(error_stringify $?)
+ $http_status_code $? "$(error_stringify $?)"
exit 1
fi