summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-11-02 19:47:23 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-11-02 19:47:23 +0000
commite4ca4ea0116539ecf115a09f5261f6b5210b296d (patch)
tree2a509bcdf6a41ea5563851dee14658a7ee17bbc0 /usr.bin
parentb7f143d4fb036c10aca8e886338e155aa0dc3bc4 (diff)
exit 1 (not -1) for -q; PR 6494
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/make/compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/compat.c b/usr.bin/make/compat.c
index 6bbf39a77a8..30c5f4e9a60 100644
--- a/usr.bin/make/compat.c
+++ b/usr.bin/make/compat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: compat.c,v 1.74 2010/07/19 19:46:43 espie Exp $ */
+/* $OpenBSD: compat.c,v 1.75 2010/11/02 19:47:22 deraadt Exp $ */
/* $NetBSD: compat.c,v 1.14 1996/11/06 17:59:01 christos Exp $ */
/*
@@ -149,7 +149,7 @@ CompatMake(void *gnp, /* The node to make */
/* If the user is just seeing if something is out-of-date,
* exit now to tell him/her "yes". */
if (queryFlag)
- exit(-1);
+ exit(1);
/* normally, we run the job, but if we can't find any
* commands, we defer to siblings instead.