summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/mysql-functions2
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.' > \