summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorTomSweeneyRedHat <tsweeney@redhat.com>2018-10-15 08:13:42 -0400
committerTomSweeneyRedHat <tsweeney@redhat.com>2018-10-15 08:13:42 -0400
commitd8d4c0f0e16d0431e0c3670ddb42bd1f1fac1c6b (patch)
treed89267286bf610d5e8426a046512ffc0dad6dc2a /libpod
parent3639ac1ad009ad9579e27cb15ff9095c5c92eb76 (diff)
downloadpodman-d8d4c0f0e16d0431e0c3670ddb42bd1f1fac1c6b.tar.gz
podman-d8d4c0f0e16d0431e0c3670ddb42bd1f1fac1c6b.tar.bz2
podman-d8d4c0f0e16d0431e0c3670ddb42bd1f1fac1c6b.zip
Touchup fileo typo
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
Diffstat (limited to 'libpod')
-rw-r--r--libpod/container_internal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go
index ab79aa790..447aa1d8b 100644
--- a/libpod/container_internal.go
+++ b/libpod/container_internal.go
@@ -1075,7 +1075,7 @@ func (c *Container) generatePasswd() (string, error) {
pwd := fmt.Sprintf("%s%d:x:%d:%d:container user:%s:/bin/sh\n", orig, uid, uid, gid, c.WorkingDir())
passwdFile, err := c.writeStringToRundir("passwd", pwd)
if err != nil {
- return "", errors.Wrapf(err, "failed to create temporary passwd fileo")
+ return "", errors.Wrapf(err, "failed to create temporary passwd file")
}
if os.Chmod(passwdFile, 0644); err != nil {
return "", err