diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-08-05 14:11:29 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-08 09:27:27 +0000 |
commit | 9e06478d8307b0279c991fd47122755fdf7bd922 (patch) | |
tree | 3061f33e9fa82287305a46afa9b8927df21e0cf6 /libpod/image/utils.go | |
parent | 14b6106c7b46fdd44c811a2697e3f3608fef8215 (diff) | |
download | podman-9e06478d8307b0279c991fd47122755fdf7bd922.tar.gz podman-9e06478d8307b0279c991fd47122755fdf7bd922.tar.bz2 podman-9e06478d8307b0279c991fd47122755fdf7bd922.zip |
rootless: fix user lookup if USER= is not set
Lookup the current username by UID if the USER env variable is not
set.
Reported in: https://github.com/projectatomic/libpod/issues/1092
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes: #1217
Approved by: rhatdan
Diffstat (limited to 'libpod/image/utils.go')
0 files changed, 0 insertions, 0 deletions