~sircmpwn/mrsh

a3bcb40f0273ca0fa6a5174d8b19a6aaab0340bd — Simon Ser 6 months ago 8e6951a
shell/task/pipeline: fix assertion
1 files changed, 1 insertions(+), 1 deletions(-)

M shell/task/pipeline.c
M shell/task/pipeline.c => shell/task/pipeline.c +1 -1
@@ 114,7 114,7 @@ int run_pipeline(struct context *ctx, struct mrsh_pipeline *pl) {
		next_stdin = -1;
	}

	assert(next_stdin == -1 && cur_stdout == -1 && next_stdin == -1);
	assert(next_stdin == -1 && cur_stdout == -1 && cur_stdin == -1);

	int ret = 0;
	for (size_t i = 0; i < procs.len; ++i) {