summaryrefslogtreecommitdiff
path: root/cmd/podman/pod_pause.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/pod_pause.go')
-rw-r--r--cmd/podman/pod_pause.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/pod_pause.go b/cmd/podman/pod_pause.go
index 75d179f52..45e1319ff 100644
--- a/cmd/podman/pod_pause.go
+++ b/cmd/podman/pod_pause.go
@@ -56,7 +56,7 @@ func podPauseCmd(c *cliconfig.PodPauseValues) error {
for _, p := range pauseIDs {
fmt.Println(p)
}
- if conErrors != nil && len(conErrors) > 0 {
+ if len(conErrors) > 0 {
for ctr, err := range conErrors {
if lastError != nil {
logrus.Errorf("%q", lastError)