From 649331cb18427321d4640783e0ce4b61b83e567e Mon Sep 17 00:00:00 2001 From: baude Date: Sun, 12 Jan 2020 10:54:14 -0600 Subject: clarify container prune --force the --force parameter should only be used for the CLI and should only dictate whether to prompt the user for confirmation. Fixes: #4844 Signed-off-by: baude --- cmd/podman/system_prune.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/podman/system_prune.go') diff --git a/cmd/podman/system_prune.go b/cmd/podman/system_prune.go index 74fdcde99..28f22d33f 100644 --- a/cmd/podman/system_prune.go +++ b/cmd/podman/system_prune.go @@ -92,7 +92,7 @@ Are you sure you want to continue? [y/N] `, volumeString) rmWorkers := shared.Parallelize("rm") fmt.Println("Deleted Containers") - ok, failures, err = runtime.Prune(ctx, rmWorkers, false, []string{}) + ok, failures, err = runtime.Prune(ctx, rmWorkers, []string{}) if err != nil { if lasterr != nil { logrus.Errorf("%q", err) -- cgit v1.2.3-54-g00ecf