summaryrefslogtreecommitdiff
path: root/libpod/oci_conmon_exec_linux.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-01-04 10:53:44 +0100
committerGitHub <noreply@github.com>2021-01-04 10:53:44 +0100
commit23f25b8261cf2c0d83f8ce5b8251951a11a7e2c4 (patch)
tree9564374473bb7b79fbd87ba318d228e905925202 /libpod/oci_conmon_exec_linux.go
parent142b4ac966e12559c534be380093a44d0a1d2959 (diff)
parentb3bd37b5370262a5dfd40b91e11e03dd7df543b6 (diff)
downloadpodman-23f25b8261cf2c0d83f8ce5b8251951a11a7e2c4.tar.gz
podman-23f25b8261cf2c0d83f8ce5b8251951a11a7e2c4.tar.bz2
podman-23f25b8261cf2c0d83f8ce5b8251951a11a7e2c4.zip
Merge pull request #8823 from giuseppe/exec-honor-privileged
exec: honor --privileged
Diffstat (limited to 'libpod/oci_conmon_exec_linux.go')
-rw-r--r--libpod/oci_conmon_exec_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/oci_conmon_exec_linux.go b/libpod/oci_conmon_exec_linux.go
index f8e7020f7..4546acefb 100644
--- a/libpod/oci_conmon_exec_linux.go
+++ b/libpod/oci_conmon_exec_linux.go
@@ -387,7 +387,7 @@ func (r *ConmonOCIRuntime) startExec(c *Container, sessionID string, options *Ex
finalEnv = append(finalEnv, fmt.Sprintf("%s=%s", k, v))
}
- processFile, err := prepareProcessExec(c, options.Cmd, finalEnv, options.Terminal, options.Cwd, options.User, sessionID)
+ processFile, err := prepareProcessExec(c, options, finalEnv, sessionID)
if err != nil {
return nil, nil, err
}