aboutsummaryrefslogtreecommitdiff
path: root/src/evanix.c
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-07-09 23:41:48 +0530
committersinanmohd <sinan@sinanmohd.com>2024-07-09 23:47:07 +0530
commit9386c1f2519abd8b4351fc97419c41182389a1f6 (patch)
treee7b3d7f28839a00fe9a1ade63ccb394b3a209e0d /src/evanix.c
parent3c85d4765bc6592043c0dc5adfa377c3db51140b (diff)
util/vpopen: support for reading stderr
Diffstat (limited to 'src/evanix.c')
-rw-r--r--src/evanix.c6
1 files changed, 3 insertions, 3 deletions
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 <bool> Use evanix build pipeline.\n"
- " -c, --close-stderr-exec <bool> Close stderr on exec.\n"
+ " -c, --close-unused-fd <bool> 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,