summaryrefslogtreecommitdiff
path: root/cmd/podman/cp.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-08-21 14:51:52 -0500
committerbaude <bbaude@redhat.com>2019-08-21 14:53:23 -0500
commite06d0fe5e54bb223701385b08703bf229dc4aa7e (patch)
tree2fa0fecf7cbb2a88e3bf1cc6af15b0c6a2c0f1b3 /cmd/podman/cp.go
parent1ad8fe52412c8cef215e5a5af312e5db680c3916 (diff)
downloadpodman-e06d0fe5e54bb223701385b08703bf229dc4aa7e.tar.gz
podman-e06d0fe5e54bb223701385b08703bf229dc4aa7e.tar.bz2
podman-e06d0fe5e54bb223701385b08703bf229dc4aa7e.zip
podman-remote: cp crashes
prune unwanted messages when running a container remotely. also, cp is not remote-enabled yet and as such should not be available on the remote client. Fixes: #3861 Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/cp.go')
-rw-r--r--cmd/podman/cp.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/podman/cp.go b/cmd/podman/cp.go
index ad7253ac0..5e1ca8312 100644
--- a/cmd/podman/cp.go
+++ b/cmd/podman/cp.go
@@ -55,7 +55,6 @@ func init() {
flags.BoolVar(&cpCommand.Pause, "pause", false, "Pause the container while copying")
cpCommand.SetHelpTemplate(HelpTemplate())
cpCommand.SetUsageTemplate(UsageTemplate())
- rootCmd.AddCommand(cpCommand.Command)
}
func cpCmd(c *cliconfig.CpValues) error {