From 149621be75f4ad429e94c8f43232baec62143a50 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 1 Sep 2015 14:55:10 +0200 Subject: Add -k --- redo.c | 5 ++--- 1 file 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); } -- cgit 1.4.1