Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/ping-from-slave
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-05-03 17:41:40 +0000
committerAndreas Baumann <mail@andreasbaumann.cc>2018-05-03 17:41:40 +0000
commit8430ab734e78aa2ef93a9849ca85459250e774bf (patch)
tree794ff707459f88f915dcbe31827c4e009f230331 /bin/ping-from-slave
parent942531d3630ba90125b38142bdf2ae8d708e5017 (diff)
parent0bc88d347f7d5f3b4fc51e277c3e0489d34dfe04 (diff)
Merge branch 'master' into fixes
Diffstat (limited to 'bin/ping-from-slave')
-rwxr-xr-xbin/ping-from-slave3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ping-from-slave b/bin/ping-from-slave
index 3c03b45..7611f44 100755
--- a/bin/ping-from-slave
+++ b/bin/ping-from-slave
@@ -18,7 +18,8 @@ if [ "$(
printf ' WHERE `build_slaves`.`name`=from_base64("%s");\n' \
"$(printf '%s' "${slave}" | base64 -w0)"
} | \
- mysql_run_query 'unimportant'
+ mysql_run_query 'unimportant' || \
+ echo '1'
)" -ne 1 ]; then
>&2 echo 'You do not build anything currently - abort whatever you are doing.'
exit 2