From b5ba44771925215883afad5ad7529763b8ec1037 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 29 Mar 2018 14:23:21 +0200 Subject: lib/mysql-functions: give correct error on failed mysql query --- lib/mysql-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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.' > \ -- cgit v1.2.3-70-g09d2