diff options
author | Erich Eckner <git@eckner.net> | 2018-03-29 14:12:06 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-03-29 14:12:06 +0200 |
commit | e9567332f84a432278ad734f1b68615e57772df9 (patch) | |
tree | d064827105f68befe5209328090d53b86a8472c5 /bin/ping-from-slave | |
parent | a826136838220321a9a9774192ce730acead6729 (diff) | |
download | builder-e9567332f84a432278ad734f1b68615e57772df9.tar.xz |
bin/ping-from-slave: make mysql queries non-fatal ("unimportant")
Diffstat (limited to 'bin/ping-from-slave')
-rwxr-xr-x | bin/ping-from-slave | 4 |
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 |