BSD 3 development
[unix-history] / usr / src / cmd / make / misc.c
index e954919..1c10ab9 100644 (file)
@@ -261,7 +261,8 @@ char *s;
 if(s) fprintf(stderr, "Make: %s.  Stop.\n", s);
 else fprintf(stderr, "\nStop.\n");
 #ifdef unix
 if(s) fprintf(stderr, "Make: %s.  Stop.\n", s);
 else fprintf(stderr, "\nStop.\n");
 #ifdef unix
-exit(1);
+fflush(stdout);
+_exit(1);
 #endif
 #ifdef gcos
 exit(0);
 #endif
 #ifdef gcos
 exit(0);