Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/mysql-functions
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mysql-functions')
-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}"