summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-08-12 19:14:20 +0200
committerGitHub <noreply@github.com>2019-08-12 19:14:20 +0200
commitca7bae7f89bd1843ce47fca41403b99b8583168e (patch)
tree496d55497fbb3151ad54b8c1a3bbfa4408a9775d /pkg
parent341f0bf66485c75db95f9e6355af1fb2f93f6005 (diff)
parent9f67cde9f855081cf113afefb72b8f38c1b4d338 (diff)
downloadpodman-ca7bae7f89bd1843ce47fca41403b99b8583168e.tar.gz
podman-ca7bae7f89bd1843ce47fca41403b99b8583168e.tar.bz2
podman-ca7bae7f89bd1843ce47fca41403b99b8583168e.zip
Merge pull request #3789 from giuseppe/cirrus-add-crun
cirrus: run tests with crun
Diffstat (limited to 'pkg')
-rw-r--r--pkg/adapter/containers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/adapter/containers.go b/pkg/adapter/containers.go
index b712bd9aa..45a9a54a3 100644
--- a/pkg/adapter/containers.go
+++ b/pkg/adapter/containers.go
@@ -342,7 +342,7 @@ func (r *LocalRuntime) Run(ctx context.Context, c *cliconfig.RunValues, exitCode
if err := ctr.Start(ctx, c.IsSet("pod")); err != nil {
// This means the command did not exist
exitCode = 127
- if strings.Contains(err.Error(), "permission denied") {
+ if strings.Contains(err.Error(), "permission denied") || strings.Contains(err.Error(), "file not found") {
exitCode = 126
}
return exitCode, err