Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/sanity-check
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sanity-check')
-rwxr-xr-xbin/sanity-check9
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/sanity-check b/bin/sanity-check
index 601a940..824b7a2 100755
--- a/bin/sanity-check
+++ b/bin/sanity-check
@@ -395,7 +395,14 @@ while [ $# -gt 0 ]; do
if [ ${silence} -le 1 ]; then
printf '\nThere is something wrong with the database:\n'
cat "${webserver_directory}/mysql-sanity.html"
- fi
+ fi >> \
+ "${tmp_dir}/messages"
+ i_am_insane
+ fi
+
+ if find "${work_dir}" -mindepth 1 -maxdepth 1 -name 'tmp.mysql-functions.query.*' | \
+ grep '\S' >> \
+ "${tmp_dir}/messages"; then
i_am_insane
fi