From 77a7296c2f70c35fba28c25a85bc98503a9cd06c Mon Sep 17 00:00:00 2001 From: ru Date: Fri, 3 Oct 2003 21:33:39 +0000 Subject: [PATCH] Make the -q option DTRT in the compat mode. PR: 48210 --- usr.bin/make/compat.c | 2 +- usr.bin/make/main.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.bin/make/compat.c b/usr.bin/make/compat.c index 3e2d9c9d9a42..f4b50d5bf229 100644 --- a/usr.bin/make/compat.c +++ b/usr.bin/make/compat.c @@ -458,7 +458,7 @@ CompatMake (void *gnp, void *pgnp) * to tell him/her "yes". */ if (queryFlag) { - exit (-1); + exit (1); } /* diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c index 4b510117f1ef..9fccf969df2d 100644 --- a/usr.bin/make/main.c +++ b/usr.bin/make/main.c @@ -866,6 +866,7 @@ main(int argc, char **argv) * well as initializing the module. */ Compat_Run(targs); + outOfDate = 0; } Lst_Destroy(targs, NOFREE); }