diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2015-09-01 14:55:10 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2015-09-01 14:55:10 +0200 |
commit | 149621be75f4ad429e94c8f43232baec62143a50 (patch) | |
tree | 97b6e46902953640fc3e45f73371c98107d59d0e | |
parent | 9f13077831d360d632239b1d6b8167ffdafcc9c5 (diff) | |
download | redo-c-149621be75f4ad429e94c8f43232baec62143a50.tar.gz redo-c-149621be75f4ad429e94c8f43232baec62143a50.tar.xz redo-c-149621be75f4ad429e94c8f43232baec62143a50.zip |
Add -k
-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); } |