From d39a7bdecd340164c04965be17b51f7ad6de0c5c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 14 Mar 2018 16:48:36 +0100 Subject: bin/sanity-check: wait 1sec before checking for left over tmp.mysql-functions.query files --- bin/sanity-check | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin') diff --git a/bin/sanity-check b/bin/sanity-check index 824b7a2..b3e02aa 100755 --- a/bin/sanity-check +++ b/bin/sanity-check @@ -400,6 +400,9 @@ while [ $# -gt 0 ]; do i_am_insane fi + # hopefully, this gets rid of false positives :-) + sleep 1 + if find "${work_dir}" -mindepth 1 -maxdepth 1 -name 'tmp.mysql-functions.query.*' | \ grep '\S' >> \ "${tmp_dir}/messages"; then -- cgit v1.2.3-54-g00ecf