summaryrefslogtreecommitdiff
path: root/sbin/atactl/atactl.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-06-04 14:59:51 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-06-04 14:59:51 +0000
commit6b10c48d5b91c11eddd20e93cec4bea00792b84b (patch)
treec823043f6afecfd05fd28435619e5fc2d05322af /sbin/atactl/atactl.c
parentdef0a55bccd5d217c525df2164ff92a51088f7db (diff)
return from main() don't exit
Diffstat (limited to 'sbin/atactl/atactl.c')
-rw-r--r--sbin/atactl/atactl.c5
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