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/apmd/apmd.c | |
parent | cd18833f3dc056e8dce4614edaada4d1e9cadaf8 (diff) |
exit(-#) is wrong
Diffstat (limited to 'usr.sbin/apmd/apmd.c')
-rw-r--r-- | usr.sbin/apmd/apmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/apmd/apmd.c b/usr.sbin/apmd/apmd.c index 4408e316617..55aa461ba02 100644 --- a/usr.sbin/apmd/apmd.c +++ b/usr.sbin/apmd/apmd.c @@ -498,7 +498,7 @@ do_etc_file(const char *file) case 0: /* We are the child. */ execl(file, prog, NULL); - _exit(-1); + _exit(1); /* NOTREACHED */ default: /* We are the parent. */ |