diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-09-13 18:12:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-13 18:12:25 +0200 |
commit | 7875e00c663a42dd26c99889206cdb8f16ff0905 (patch) | |
tree | 7ce115ad37c16634a8c4d42e0d0c89ae3002b3bf /cmd/podman/pause.go | |
parent | 5c09c4d2947a759724f9d5aef6bac04317e03f7e (diff) | |
parent | 82ac0d8925dbb5aa738f1494ecb002eb6daca992 (diff) | |
download | podman-7875e00c663a42dd26c99889206cdb8f16ff0905.tar.gz podman-7875e00c663a42dd26c99889206cdb8f16ff0905.tar.bz2 podman-7875e00c663a42dd26c99889206cdb8f16ff0905.zip |
Merge pull request #3934 from rhatdan/wait
Podman-remote run should wait for exit code
Diffstat (limited to 'cmd/podman/pause.go')
-rw-r--r-- | cmd/podman/pause.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/pause.go b/cmd/podman/pause.go index 3a8f4edb5..247a480e3 100644 --- a/cmd/podman/pause.go +++ b/cmd/podman/pause.go @@ -56,7 +56,7 @@ func pauseCmd(c *cliconfig.PauseValues) error { if err != nil { if errors.Cause(err) == define.ErrNoSuchCtr { if len(c.InputArgs) > 1 { - exitCode = 125 + exitCode = define.ExecErrorCodeGeneric } else { exitCode = 1 } @@ -64,7 +64,7 @@ func pauseCmd(c *cliconfig.PauseValues) error { return err } if len(failures) > 0 { - exitCode = 125 + exitCode = define.ExecErrorCodeGeneric } return printCmdResults(ok, failures) } |