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-03-08 09:06:01 +0100
committerErich Eckner <git@eckner.net>2018-03-08 09:06:01 +0100
commit1402c0c7565e1a1ecc55c0383727de5b6ad0dba3 (patch)
tree28f02b41a63db3ff6b021d3bae9d3ab4aea0c3c9
parentf1bf6de03ad68e75dd2602a1744cc30a4a23b6f5 (diff)
bin/sanity-check: print into "messages" in case of insane database
-rwxr-xr-xbin/sanity-check3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/sanity-check b/bin/sanity-check
index 601a940..9487726 100755
--- a/bin/sanity-check
+++ b/bin/sanity-check
@@ -395,7 +395,8 @@ 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