don't fall off the end of main
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 16 Mar 1991 02:18:46 +0000 (18:18 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 16 Mar 1991 02:18:46 +0000 (18:18 -0800)
SCCS-vsn: usr.bin/w/w.c 5.26

usr/src/usr.bin/w/w.c

index f710300..7673024 100644 (file)
@@ -11,7 +11,7 @@ char copyright[] =
 #endif not lint
 
 #ifndef lint
 #endif not lint
 
 #ifndef lint
-static char sccsid[] = "@(#)w.c        5.25 (Berkeley) %G%";
+static char sccsid[] = "@(#)w.c        5.26 (Berkeley) %G%";
 #endif not lint
 
 /*
 #endif not lint
 
 /*
@@ -296,6 +296,7 @@ main(argc, argv)
                        prttime(ep->idle, " ");
                printf("%.*s\n", argwidth, ep->args);
        }
                        prttime(ep->idle, " ");
                printf("%.*s\n", argwidth, ep->args);
        }
+       exit(0);
 }
 
 struct stat *
 }
 
 struct stat *