diff --git a/Makefile.inc b/Makefile.inc index 42ed707e8d..0a6b7bbe91 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -368,7 +368,7 @@ lint lint-stable: fi; \ echo ========; \ done; \ - test $$FAILED -eq 0 || { echo "ERROR: $$FAILED test(s) failed." && exit 1; }; \ + test $$FAILED -eq 0 || { echo "ERROR: $$FAILED test(s) failed."; rm -f $$LINTLOG && exit 1; }; \ rm -f $$LINTLOG gitconfig: