mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-09 00:58:16 +00:00
now return 1 if there were errors
This commit is contained in:
@@ -808,6 +808,10 @@ int main(int arg_count, char **arg_ptr) {
|
||||
show_timings(&checker, &timings);
|
||||
}
|
||||
|
||||
if (global_error_collector.count != 0) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user