aboutsummaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-02-05 06:29:05 -0500
committerGitHub <noreply@github.com>2021-02-05 06:29:05 -0500
commitc421127dd7f700829a8e5265d8ddad102061bebc (patch)
tree7e5b527e5afb3cecff9dad2d225c12bfca9e0c38 /libpod
parent42d4652fed759904bb51a5d3420724dc25009494 (diff)
parent821ef6486a63f7dcf7f120e4010bb4d6f1e65b9d (diff)
downloadpodman-c421127dd7f700829a8e5265d8ddad102061bebc.tar.gz
podman-c421127dd7f700829a8e5265d8ddad102061bebc.tar.bz2
podman-c421127dd7f700829a8e5265d8ddad102061bebc.zip
Merge pull request #9231 from vrothberg/rootfs-workdir
fix logic when not creating a workdir
Diffstat (limited to 'libpod')
-rw-r--r--libpod/container_internal_linux.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/container_internal_linux.go b/libpod/container_internal_linux.go
index 6c9489a08..ba85a1f47 100644
--- a/libpod/container_internal_linux.go
+++ b/libpod/container_internal_linux.go
@@ -213,6 +213,7 @@ func (c *Container) resolveWorkDir() error {
// we need to return the full error.
return errors.Wrapf(err, "error detecting workdir %q on container %s", workdir, c.ID())
}
+ return nil
}
// Ensure container entrypoint is created (if required).