From e9567332f84a432278ad734f1b68615e57772df9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 29 Mar 2018 14:12:06 +0200 Subject: bin/ping-from-slave: make mysql queries non-fatal ("unimportant") --- bin/ping-from-slave | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/ping-from-slave') 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 -- cgit v1.2.3-70-g09d2