From 979f330103b8ddf354904f4213e507ca4ea3bd12 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 29 Mar 2018 13:52:20 +0200 Subject: bin/sanity-check: print failed mysql query, too, so we might get a hint which script misses a lock (in case of a temporary problem) --- bin/sanity-check | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin/sanity-check') diff --git a/bin/sanity-check b/bin/sanity-check index 0a81343..1e508e2 100755 --- a/bin/sanity-check +++ b/bin/sanity-check @@ -416,7 +416,9 @@ while [ $# -gt 0 ]; do errors=$( find "${work_dir}" -mindepth 1 -maxdepth 1 \ - -name 'tmp.mysql-functions.query.*' + -name 'tmp.mysql-functions.query.*' \ + -printf '%f\n' \ + -execdir sed 's/^/>> ' '{}' \; ) if [ -n "${errors}" ]; then if [ ${silence} -le 1 ]; then -- cgit v1.2.3-54-g00ecf