From 003203b0c3e6024c16d90c9ecb9eee97cdc1449c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 17 Apr 2018 15:30:40 +0200 Subject: lib/mysql-functions: copy failed queries into webserver directory --- lib/mysql-functions | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/mysql-functions') diff --git a/lib/mysql-functions b/lib/mysql-functions index 048f163..65c186f 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -62,6 +62,7 @@ mysql_run_query() { printf '\001ACTION failed to execute a mysql query - can you have a look at "%s"?.\001\n' \ "${query_stdin##*/}" \ | irc_say + cp "${query_stdin}" "${webserver_directory}/mysql-queries/" fi echo 'A mysql query failed.' > \ "${work_dir}/build-master-sanity" -- cgit v1.2.3-70-g09d2