summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-07-23 04:14:46 +0000
committermillert <millert@openbsd.org>1997-07-23 04:14:46 +0000
commit24dd842a21f61a9092bc4b16519e8a474932ac5c (patch)
treed38ebe22221233ceaff19fbaf863f21167df9a81
parentReplace skeyinfo.sh with a setuid binary (necessary for mode 0600 /etc/skeykeys) (diff)
downloadwireguard-openbsd-24dd842a21f61a9092bc4b16519e8a474932ac5c.tar.xz
wireguard-openbsd-24dd842a21f61a9092bc4b16519e8a474932ac5c.zip
exit() not return()
-rw-r--r--usr.bin/skeyinfo/skeyinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/skeyinfo/skeyinfo.c b/usr.bin/skeyinfo/skeyinfo.c
index 0f3a94b9ec9..4b1085eb152 100644
--- a/usr.bin/skeyinfo/skeyinfo.c
+++ b/usr.bin/skeyinfo/skeyinfo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: skeyinfo.c,v 1.1 1997/07/23 04:10:53 millert Exp $ */
+/* $OpenBSD: skeyinfo.c,v 1.2 1997/07/23 04:14:46 millert Exp $ */
/*
* Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -105,7 +105,7 @@ main(argc, argv)
warnx("%s is not listed in /etc/skeykeys", name);
}
- return(errs);
+ exit(errs);
}
void