diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-06-04 14:59:51 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-06-04 14:59:51 +0000 |
commit | 6b10c48d5b91c11eddd20e93cec4bea00792b84b (patch) | |
tree | c823043f6afecfd05fd28435619e5fc2d05322af /sbin/atactl/atactl.c | |
parent | def0a55bccd5d217c525df2164ff92a51088f7db (diff) |
return from main() don't exit
Diffstat (limited to 'sbin/atactl/atactl.c')
-rw-r--r-- | sbin/atactl/atactl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/atactl/atactl.c b/sbin/atactl/atactl.c index c9dd66df47f..57791cd6f7c 100644 --- a/sbin/atactl/atactl.c +++ b/sbin/atactl/atactl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atactl.c,v 1.6 2001/03/23 02:16:42 deraadt Exp $ */ +/* $OpenBSD: atactl.c,v 1.7 2001/06/04 14:59:47 mickey Exp $ */ /* $NetBSD: atactl.c,v 1.4 1999/02/24 18:49:14 jwise Exp $ */ /*- @@ -242,7 +242,8 @@ main(argc, argv) errx(1, "unknown command: %s\n", cmdname); (*commands[i].cmd_func)(argc, argv); - exit(0); + + return (0); } void |