diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-11-07 15:16:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-07 15:16:36 +0100 |
commit | a889fd397ae56f16c71be2bf8b0a886def1559fa (patch) | |
tree | 0341a13c2f8513f5149868b594c151a737047633 /libpod | |
parent | aad29045531152f6b4763fe6a45e8c9daabaa0e0 (diff) | |
parent | 7c623bd41ff3d53412531343a94e4fa5fead759f (diff) | |
download | podman-a889fd397ae56f16c71be2bf8b0a886def1559fa.tar.gz podman-a889fd397ae56f16c71be2bf8b0a886def1559fa.tar.bz2 podman-a889fd397ae56f16c71be2bf8b0a886def1559fa.zip |
Merge pull request #4441 from rhatdan/detach
Allow users to disable detach keys
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/oci_attach_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/oci_attach_linux.go b/libpod/oci_attach_linux.go index eeaee6d43..46c70e7eb 100644 --- a/libpod/oci_attach_linux.go +++ b/libpod/oci_attach_linux.go @@ -152,7 +152,7 @@ func (c *Container) attachToExec(streams *AttachStreams, keys string, resize <-c func processDetachKeys(keys string) ([]byte, error) { // Check the validity of the provided keys first if len(keys) == 0 { - keys = define.DefaultDetachKeys + return []byte{}, nil } detachKeys, err := term.ToBytes(keys) if err != nil { |