diff options
author | Erich Eckner <git@eckner.net> | 2018-03-29 14:23:21 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-03-29 14:23:21 +0200 |
commit | b5ba44771925215883afad5ad7529763b8ec1037 (patch) | |
tree | 29497cdef52e24853ebbbef841035913a575d7ad /lib | |
parent | e9567332f84a432278ad734f1b68615e57772df9 (diff) | |
download | builder-b5ba44771925215883afad5ad7529763b8ec1037.tar.xz |
lib/mysql-functions: give correct error on failed mysql query
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/mysql-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions index 48b00a2..e2a46ef 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -60,7 +60,7 @@ mysql_run_query() { >&2 printf 'I could not complete a mysql query!\n' if [ ! -s "${work_dir}/build-master-sanity" ]; then printf '\001ACTION failed to execute a mysql query - can you have a look at "%s"?.\001\n' \ - "${query_file##*/}" \ + "${query_stdin##*/}" \ | irc_say fi echo 'A mysql query failed.' > \ |