summaryrefslogtreecommitdiff
path: root/bin/ping-from-slave
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-29 14:12:06 +0200
committerErich Eckner <git@eckner.net>2018-03-29 14:12:06 +0200
commite9567332f84a432278ad734f1b68615e57772df9 (patch)
treed064827105f68befe5209328090d53b86a8472c5 /bin/ping-from-slave
parenta826136838220321a9a9774192ce730acead6729 (diff)
downloadbuilder-e9567332f84a432278ad734f1b68615e57772df9.tar.xz
bin/ping-from-slave: make mysql queries non-fatal ("unimportant")
Diffstat (limited to 'bin/ping-from-slave')
-rwxr-xr-xbin/ping-from-slave4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ping-from-slave b/bin/ping-from-slave
index e163649..80ec46a 100755
--- a/bin/ping-from-slave
+++ b/bin/ping-from-slave
@@ -18,7 +18,7 @@ if [ "$(
printf ' WHERE `build_slaves`.`name`=from_base64("%s");\n' \
"$(printf '%s' "${slave}" | base64 -w0)"
} | \
- mysql_run_query
+ mysql_run_query 'unimportant'
)" -ne 1 ]; then
>&2 echo 'You do not build anything currently - abort whatever you are doing.'
exit 2
@@ -48,6 +48,6 @@ if [ -n "${log_lines}" ]; then
)"
} | \
tee /tmp/ping-from-slave.query | \
- mysql_run_query
+ mysql_run_query 'unimportant'
fi