From 9386c1f2519abd8b4351fc97419c41182389a1f6 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 9 Jul 2024 23:41:48 +0530 Subject: util/vpopen: support for reading stderr --- src/evanix.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/evanix.c') diff --git a/src/evanix.c b/src/evanix.c index cd35782..b801e73 100644 --- a/src/evanix.c +++ b/src/evanix.c @@ -17,11 +17,11 @@ static const char usage[] = " -s, --system System to build for.\n" " -m, --max-build Max number of builds.\n" " -p, --pipelined Use evanix build pipeline.\n" - " -c, --close-stderr-exec Close stderr on exec.\n" + " -c, --close-unused-fd Close stderr on exec.\n" "\n"; struct evanix_opts_t evanix_opts = { - .close_stderr_exec = true, + .close_unused_fd = true, .isflake = false, .ispipelined = true, .isdryrun = false, @@ -164,7 +164,7 @@ int main(int argc, char *argv[]) exit(EXIT_FAILURE); } - evanix_opts.close_stderr_exec = ret; + evanix_opts.close_unused_fd = ret; break; default: fprintf(stderr, -- cgit v1.2.3