must rm before ln
[unix-history] / usr / src / usr.bin / what / what.c
index c45d178..45e013a 100644 (file)
@@ -1,4 +1,4 @@
-static char *sccsid = "@(#)what.c      4.1 (Berkeley) %G%";
+static char *sccsid = "@(#)what.c      4.2 (Berkeley) %G%";
 #include <stdio.h>
 
 /*
 #include <stdio.h>
 
 /*
@@ -26,6 +26,7 @@ main(argc, argv)
                fseek(stdin, (long) 0, 0);
                find();
        } while (argc > 0);
                fseek(stdin, (long) 0, 0);
                find();
        } while (argc > 0);
+       exit(0);
 }
 
 find()
 }
 
 find()