m1/perf/main.c: exit immediately on compilation error

This commit is contained in:
Werner Almesberger committed 2011-09-21 17:46:25 -03:00
1 parent 8f82a0e8d4
commit a19a196785
1 file changed
+2 -1
+2 -1
View File
@@ -54,7 +54,8 @@ int main(int argc, char **argv)
fclose(file);
for (i = 0; i != loops; i++)
patch_compile(buf, report);
if (!patch_compile(buf, report))
return 1;
return 0;
}