summaryrefslogtreecommitdiff
path: root/Build/source/texk/chktex/chktex-PATCHES/patch-04-finderrs
blob: 1717fc972db6b3ad0696cb323095c940ee1f66b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff -ur chktex.orig/FindErrs.c chktex/FindErrs.c
--- chktex.orig/FindErrs.c	Sat Sep 10 06:22:18 2016
+++ chktex/FindErrs.c	Fri Sep 16 14:09:38 2016
@@ -1872,7 +1872,6 @@
             }
             else
             {
-                FoundErr = EXIT_FAILURE;
                 Context = LaTeXMsgs[Error].Context;
 
                 if (!HeadErrOut)
@@ -1892,6 +1891,7 @@
                     break;
                 case etErr:
                     ErrPrint++;
+                    FoundErr = EXIT_FAILURE;
                     break;
                 case etMsg:
                     break;