summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mrouted/main.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2001-03-09 03:19:51 +0000
committerderaadt <deraadt@openbsd.org>2001-03-09 03:19:51 +0000
commit43ae5fd5fd7f771760b0e2b045f4a087f9b119eb (patch)
treea530145e7e9f03850c39a5d58045900363f7c46b /usr.sbin/mrouted/main.c
parentcreate *.pub files with umask 0644, so that you can mv them to authorized_keys (diff)
downloadwireguard-openbsd-43ae5fd5fd7f771760b0e2b045f4a087f9b119eb.tar.xz
wireguard-openbsd-43ae5fd5fd7f771760b0e2b045f4a087f9b119eb.zip
exit(-#) is wrong
Diffstat (limited to 'usr.sbin/mrouted/main.c')
-rw-r--r--usr.sbin/mrouted/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/mrouted/main.c b/usr.sbin/mrouted/main.c
index 8e3bd4b1cc7..eb4d5467dfe 100644
--- a/usr.sbin/mrouted/main.c
+++ b/usr.sbin/mrouted/main.c
@@ -33,7 +33,7 @@
#ifndef lint
static char rcsid[] =
- "@(#) $Id: main.c,v 1.4 1996/09/11 19:15:33 deraadt Exp $";
+ "@(#) $Id: main.c,v 1.5 2001/03/09 03:24:07 deraadt Exp $";
#endif
extern char *configfilename;
@@ -727,7 +727,7 @@ log(severity, syserr, format, va_alist)
syslog(severity, "%s", msg);
}
- if (severity <= LOG_ERR) exit(-1);
+ if (severity <= LOG_ERR) exit(1);
}
}