- Of course, errors have a higher priority.
This commit is contained in:
parent
42e5efedac
commit
d62a8d89e1
@ -467,8 +467,9 @@ main (int argc, char **argv)
|
||||
if (sys->latex)
|
||||
latexDone (sys);
|
||||
|
||||
/* transfer any scenario counting to the exit code */
|
||||
if (sys->switchScenario < 0)
|
||||
/* Transfer any scenario counting to the exit code,
|
||||
* assuming that there is no error. */
|
||||
if (exitcode != 1 && sys->switchScenario < 0)
|
||||
{
|
||||
exitcode = sys->countScenario;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user