diff options
Diffstat (limited to 'cmd/podman/run.go')
-rw-r--r-- | cmd/podman/run.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/run.go b/cmd/podman/run.go index 2f3468fd2..169fe6645 100644 --- a/cmd/podman/run.go +++ b/cmd/podman/run.go @@ -80,9 +80,9 @@ func runCmd(c *cli.Context) error { logrus.Debug("new container created ", ctr.ID()) if err := ctr.Init(); err != nil { // This means the command did not exist - exitCode = 126 + exitCode = 127 if strings.Index(err.Error(), "permission denied") > -1 { - exitCode = 127 + exitCode = 126 } return err } |