Skip to content

Commit

Permalink
If errors were found, return exit status 1 on exit
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowbarker committed Dec 24, 2015
1 parent d021807 commit 4d114d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wattsi.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1174,6 +1174,7 @@ TCrossReferences = record
if (Errors > 0) then
begin
Writeln('Error count: ', Errors);
ExitCode := 1;
// raise EAbort.Create(IntToStr(Errors) + ' errors found.');
end;
end;
Expand Down

0 comments on commit 4d114d9

Please sign in to comment.