I also ran into this bug using flycheck. Michael Hoffman <michael.hoff...@utoronto.ca> wrote: > I don't really understand how that patch could fix this bug. It is adding > more conditions where exit status becomes non zero, not removing them.
Indeed there are two lines added for the case where warnings or errors have been found, but the fix seems to be that the line above outside the switch statement is removed. Or am I misunderstanding something? Here is the whole file: http://git.savannah.nongnu.org/cgit/chktex.git/diff/chktex?id=127e9ea31f80e6738d137e8a5022cbb2ab601f4c&context=40