diff options
Diffstat (limited to 'miscutils/make.c')
| -rw-r--r-- | miscutils/make.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/miscutils/make.c b/miscutils/make.c index 7396fc770..75d4cb5b8 100644 --- a/miscutils/make.c +++ b/miscutils/make.c | |||
| @@ -2089,7 +2089,7 @@ run_command(const char *cmd) | |||
| 2089 | pclose(fd); | 2089 | pclose(fd); |
| 2090 | 2090 | ||
| 2091 | if (val == NULL) | 2091 | if (val == NULL) |
| 2092 | return NULL; | 2092 | return val; |
| 2093 | 2093 | ||
| 2094 | // Strip leading whitespace in POSIX 2024 mode | 2094 | // Strip leading whitespace in POSIX 2024 mode |
| 2095 | if (posix) { | 2095 | if (posix) { |
| @@ -2713,6 +2713,7 @@ docmds(struct name *np, struct cmd *cp) | |||
| 2713 | exit(2); | 2713 | exit(2); |
| 2714 | } | 2714 | } |
| 2715 | } | 2715 | } |
| 2716 | target = NULL; | ||
| 2716 | } | 2717 | } |
| 2717 | if (sdomake || dryrun) | 2718 | if (sdomake || dryrun) |
| 2718 | estat = MAKE_DIDSOMETHING; | 2719 | estat = MAKE_DIDSOMETHING; |
| @@ -3504,7 +3505,7 @@ int make_main(int argc UNUSED_PARAM, char **argv) | |||
| 3504 | #endif | 3505 | #endif |
| 3505 | else | 3506 | else |
| 3506 | error("no makefile found"); | 3507 | error("no makefile found"); |
| 3507 | goto read_makefile; | 3508 | goto read_makefile; |
| 3508 | } | 3509 | } |
| 3509 | 3510 | ||
| 3510 | while ((file = llist_pop(&makefiles))) { | 3511 | while ((file = llist_pop(&makefiles))) { |
