From d40b450afdc9784a3dcf0d5b95712f4ad8a46cc0 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Fri, 7 Jun 2019 15:16:51 -0400 Subject: Default 'pause' to false for 'podman cp' Signed-off-by: Matthew Heon --- cmd/podman/cp.go | 2 +- docs/podman-cp.1.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/podman/cp.go b/cmd/podman/cp.go index 2e2ca272a..7679ebcf1 100644 --- a/cmd/podman/cp.go +++ b/cmd/podman/cp.go @@ -51,7 +51,7 @@ func init() { cpCommand.Command = _cpCommand flags := cpCommand.Flags() flags.BoolVar(&cpCommand.Extract, "extract", false, "Extract the tar file into the destination directory.") - flags.BoolVar(&cpCommand.Pause, "pause", true, "Pause the container while copying") + flags.BoolVar(&cpCommand.Pause, "pause", false, "Pause the container while copying") cpCommand.SetHelpTemplate(HelpTemplate()) cpCommand.SetUsageTemplate(UsageTemplate()) rootCmd.AddCommand(cpCommand.Command) diff --git a/docs/podman-cp.1.md b/docs/podman-cp.1.md index 76fe57a9e..ee218d66a 100644 --- a/docs/podman-cp.1.md +++ b/docs/podman-cp.1.md @@ -63,7 +63,7 @@ Extract the tar file into the destination directory. If the destination director **--pause** -Pause the container while copying into it to avoid potential security issues around symlinks. Defaults to *true*. +Pause the container while copying into it to avoid potential security issues around symlinks. Defaults to *false*. ## ALTERNATIVES -- cgit v1.2.3-54-g00ecf