summaryrefslogtreecommitdiff
path: root/usr.sbin/apmd
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/apmd')
-rw-r--r--usr.sbin/apmd/apmd.c2
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. */