From cb6b3c47dc5c3cb4ab391a082fe0666066fdd4f4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 14 May 2023 18:40:11 +0200 Subject: process: add process_output_dump --- src/worker.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/worker.c') diff --git a/src/worker.c b/src/worker.c index 755ff35..b792ac7 100644 --- a/src/worker.c +++ b/src/worker.c @@ -95,12 +95,7 @@ static int msg_ci_run_do(const char *url, const char *rev, struct proc_output *r return ret; } - log("Process exit code: %d\n", result->ec); - log("Process output:\n%s", result->output); - if (!result->output || !result->output_len || - result->output[result->output_len - 1] != '\n') - log("\n"); - + proc_output_dump(result); return 0; } -- cgit v1.2.3