gc: flush warnings, if any

R=ken2
CC=golang-dev
https://golang.org/cl/811042
This commit is contained in:
Russ Cox 2010-03-29 23:34:59 -07:00
parent d166d1629a
commit 5d0ec6c076

View file

@ -158,6 +158,7 @@ main(int argc, char *argv[])
if(nerrors)
errorexit();
flusherrors();
exit(0);
return 0;