diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-03-09 03:24:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-03-09 03:24:11 +0000 |
commit | d6685a5c97ce71b163917bbafb3d6834a374aae4 (patch) | |
tree | 5fc3fa2b71c9cb26c623450c28937cc6b0ae3811 /usr.sbin/pppoe/common.c | |
parent | cd18833f3dc056e8dce4614edaada4d1e9cadaf8 (diff) |
exit(-#) is wrong
Diffstat (limited to 'usr.sbin/pppoe/common.c')
-rw-r--r-- | usr.sbin/pppoe/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pppoe/common.c b/usr.sbin/pppoe/common.c index cb29c891d88..9070effeb77 100644 --- a/usr.sbin/pppoe/common.c +++ b/usr.sbin/pppoe/common.c @@ -1,4 +1,4 @@ -/* $OpenBSD: common.c,v 1.2 2000/10/09 22:52:18 brian Exp $ */ +/* $OpenBSD: common.c,v 1.3 2001/03/09 03:24:09 deraadt Exp $ */ /* * Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net @@ -119,7 +119,7 @@ runppp(bpffd, sysname) execlp(PPP_PROG, "ppp", "-direct", sysname, NULL); perror("execlp"); syslog(LOG_INFO, "%s exec failed: %m", PPP_PROG); - _exit(-1); + _exit(1); } int |