diff options
author | Peter Hunt <pehunt@redhat.com> | 2019-07-22 15:56:58 -0400 |
---|---|---|
committer | Peter Hunt <pehunt@redhat.com> | 2019-07-23 13:29:33 -0400 |
commit | 5bf99a82ff48cd5097182c55fe1347daf793324b (patch) | |
tree | 726fc427fba4615f2262932d71a8f9676604e3e4 /pkg/adapter | |
parent | 479eeac62cd74e32cbe74fc8afbfc82d4d8a8abd (diff) | |
download | podman-5bf99a82ff48cd5097182c55fe1347daf793324b.tar.gz podman-5bf99a82ff48cd5097182c55fe1347daf793324b.tar.bz2 podman-5bf99a82ff48cd5097182c55fe1347daf793324b.zip |
add detach keys support for remote
Signed-off-by: Peter Hunt <pehunt@redhat.com>
Diffstat (limited to 'pkg/adapter')
-rw-r--r-- | pkg/adapter/containers_remote.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/adapter/containers_remote.go b/pkg/adapter/containers_remote.go index 7fce30378..3b1b80315 100644 --- a/pkg/adapter/containers_remote.go +++ b/pkg/adapter/containers_remote.go @@ -1017,7 +1017,6 @@ func (r *LocalRuntime) ExecContainer(ctx context.Context, cli *cliconfig.ExecVal // Check if we are attached to a terminal. If we are, generate resize // events, and set the terminal to raw mode - // TODO FIXME tty if haveTerminal && cli.Tty { cancel, oldTermState, err := handleTerminalAttach(ctx, resize) if err != nil { @@ -1038,6 +1037,7 @@ func (r *LocalRuntime) ExecContainer(ctx context.Context, cli *cliconfig.ExecVal User: &cli.User, Workdir: &cli.Workdir, Env: &envs, + DetachKeys: &cli.DetachKeys, } inputStream := os.Stdin |