Merge pull request #11055 from vrothberg/fix-10701

exec: fix cleanup
This commit is contained in:
OpenShift Merge Robot 2021-07-27 15:31:26 +02:00 committed by GitHub
commit b6c279be22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -618,7 +618,7 @@ func makeExecConfig(options entities.ExecOptions, rt *libpod.Runtime) (*libpod.E
return nil, errors.Wrapf(err, "error retrieving Libpod configuration to build exec exit command")
}
// TODO: Add some ability to toggle syslog
exitCommandArgs, err := generate.CreateExitCommandArgs(storageConfig, runtimeConfig, false, true, true)
exitCommandArgs, err := generate.CreateExitCommandArgs(storageConfig, runtimeConfig, false, false, true)
if err != nil {
return nil, errors.Wrapf(err, "error constructing exit command for exec session")
}