diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-12-28 16:18:38 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-12-28 16:18:38 -0800 |
commit | 0f9de11a67a5bbf3fe0c3be7f55cb25a7987ed4d (patch) | |
tree | 40c6c53ac7b94969823ecb73c145862f9d617723 /exec.cpp | |
parent | 715823a6665a63df5a7ae6e5a9adcbe287626c1c (diff) |
Fix issues related to redirections and block level IO with new parser
Diffstat (limited to 'exec.cpp')
-rw-r--r-- | exec.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -820,7 +820,6 @@ void exec_job(parser_t &parser, job_t *j) { pipe_write.reset(new io_pipe_t(p->pipe_write_fd, false)); process_net_io_chain.push_back(pipe_write); - } /* The explicit IO redirections associated with the process */ @@ -1156,7 +1155,7 @@ void exec_job(parser_t &parser, job_t *j) No buffer, so we exit directly. This means we have to manually set the exit status. */ - if (p->next == 0) + if (p->next == NULL) { proc_set_last_status(job_get_flag(j, JOB_NEGATE)?(!status):status); } |