]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - main.c
remove -printf option from find; remove the misplaced 'local's
[xonotic/gmqcc.git] / main.c
diff --git a/main.c b/main.c
index fa245a936800d8f6ec72af07080179703ca5f5e3..9a76706b06653412f017945dde44aa891ccdc06e 100644 (file)
--- a/main.c
+++ b/main.c
@@ -790,5 +790,7 @@ cleanup:
     lex_cleanup();
     stat_info();
 
+    if (!retval && compile_errors)
+        retval = 1;
     return retval;
 }