Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-18 15:14:54 +0200
committerErich Eckner <git@eckner.net>2018-04-18 15:14:54 +0200
commit97e0e4a78e314b0eea8099768de4c75760935b1e (patch)
tree1ba50b2a72b63df6edbdc60a6abc944601301fa9
parentc93333ae8039d2dbfb9181e036129a6dec9b7556 (diff)
lib/mysql-functions: only go insane, when query was actually important
-rwxr-xr-xlib/mysql-functions6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index 2ea83fa..66b1512 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -70,8 +70,10 @@ mysql_run_query() {
find "${webserver_directory}/mysql-queries/" -type f \
-exec chmod go+r {} \;
fi
- echo 'A mysql query failed.' > \
- "${work_dir}/build-master-sanity"
+ if [ -z "${file_name_extra}" ]; then
+ echo 'A mysql query failed.' > \
+ "${work_dir}/build-master-sanity"
+ fi
return 2
fi
cat "${query_stdout}"