Skip to content

Commit d40b450

Browse files
committed
Default 'pause' to false for 'podman cp'
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
1 parent d81fc2e commit d40b450

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/podman/cp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func init() {
5151
cpCommand.Command = _cpCommand
5252
flags := cpCommand.Flags()
5353
flags.BoolVar(&cpCommand.Extract, "extract", false, "Extract the tar file into the destination directory.")
54-
flags.BoolVar(&cpCommand.Pause, "pause", true, "Pause the container while copying")
54+
flags.BoolVar(&cpCommand.Pause, "pause", false, "Pause the container while copying")
5555
cpCommand.SetHelpTemplate(HelpTemplate())
5656
cpCommand.SetUsageTemplate(UsageTemplate())
5757
rootCmd.AddCommand(cpCommand.Command)

docs/podman-cp.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Extract the tar file into the destination directory. If the destination director
6363

6464
**--pause**
6565

66-
Pause the container while copying into it to avoid potential security issues around symlinks. Defaults to *true*.
66+
Pause the container while copying into it to avoid potential security issues around symlinks. Defaults to *false*.
6767

6868
## ALTERNATIVES
6969

0 commit comments

Comments
 (0)