summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2020-04-28 14:15:39 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2020-04-28 14:15:39 +0200
commite76c8527dcc8f526fdc8b50540a1aeb05f7eb70a (patch)
treecc31316b1b762866da28632dc167aeff89254cb2
parentebf041652e93487b8afbac2bc4d9031d8547d866 (diff)
downloadpodman-e76c8527dcc8f526fdc8b50540a1aeb05f7eb70a.tar.gz
podman-e76c8527dcc8f526fdc8b50540a1aeb05f7eb70a.tar.bz2
podman-e76c8527dcc8f526fdc8b50540a1aeb05f7eb70a.zip
cmd: set correct parent for container exec
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
-rw-r--r--cmd/podman/containers/exec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/containers/exec.go b/cmd/podman/containers/exec.go
index 3749c934a..2bff8ae33 100644
--- a/cmd/podman/containers/exec.go
+++ b/cmd/podman/containers/exec.go
@@ -70,7 +70,7 @@ func init() {
registry.Commands = append(registry.Commands, registry.CliCommand{
Mode: []entities.EngineMode{entities.ABIMode},
Command: containerExecCommand,
- Parent: containerCommitCommand,
+ Parent: containerCmd,
})
containerExecFlags := containerExecCommand.Flags()