diff options
Diffstat (limited to 'redo.c')
-rw-r--r-- | redo.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/redo.c b/redo.c index 3721f2b..8f0595e 100644 --- a/redo.c +++ b/redo.c @@ -687,14 +687,13 @@ redo_ifchange(int targetc, char *targetv[]) } } - printf("ji: %d\n", job->implicit); + printf("ji: %d %d\n", job->implicit, kflag); if (job->implicit) implicit_jobs++; else write(poolwr_fd, "\0", 1); - // TODO: keep going on -k - if (status > 0) { + if (kflag < 0 && status > 0) { printf("failed with status %d\n", status); exit(status); } |