summaryrefslogtreecommitdiff
path: root/sbin/ancontrol
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/ancontrol
parentdef0a55bccd5d217c525df2164ff92a51088f7db (diff)
return from main() don't exit
Diffstat (limited to 'sbin/ancontrol')
-rw-r--r--sbin/ancontrol/ancontrol.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/ancontrol/ancontrol.c b/sbin/ancontrol/ancontrol.c
index 13841dbf278..21841975e7f 100644
--- a/sbin/ancontrol/ancontrol.c
+++ b/sbin/ancontrol/ancontrol.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ancontrol.c,v 1.16 2001/05/02 22:31:09 ericj Exp $ */
+/* $OpenBSD: ancontrol.c,v 1.17 2001/06/04 14:59:46 mickey Exp $ */
/*
* Copyright (c) 2001 Eric Jackson <ericj@monkey.org>
*
@@ -1476,5 +1476,6 @@ main(argc, argv)
/* Close our socket */
if (s)
close(s);
- exit(0);
+
+ return (0);
}