From 8c6e47f6ca14983c14aa6205ddb5c73dec03a24d Mon Sep 17 00:00:00 2001 From: Peter Hunt Date: Mon, 8 Jan 2024 11:29:28 -0500 Subject: [PATCH] drop --tty on exec as gvisor doesn't use it, and runc/crun don't need it, as they'll only use it if the process args aren't defined, which conmon always does Signed-off-by: Peter Hunt --- src/runtime_args.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/runtime_args.c b/src/runtime_args.c index ee980880..6b3e35fe 100644 --- a/src/runtime_args.c +++ b/src/runtime_args.c @@ -28,8 +28,6 @@ GPtrArray *configure_runtime_args(const char *const csname) /* Set the exec arguments. */ if (opt_exec) { add_argv(runtime_argv, "exec", "--pid-file", opt_container_pid_file, "--process", opt_exec_process_spec, "--detach", NULL); - if (opt_terminal) - add_argv(runtime_argv, "--tty", NULL); } else { char *command; if (opt_restore_path)