mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-17 11:27:33 +00:00
Merge pull request #6703 from dougsland/msg
rootless_linux: improve error message
This commit is contained in:
commit
4afdbcd6da
1 changed files with 2 additions and 1 deletions
|
|
@ -166,7 +166,8 @@ func GetConfiguredMappings() ([]idtools.IDMap, []idtools.IDMap, error) {
|
|||
}
|
||||
mappings, err := idtools.NewIDMappings(username, username)
|
||||
if err != nil {
|
||||
logrus.Errorf("cannot find mappings for user %s: %v", username, err)
|
||||
logrus.Errorf(
|
||||
"cannot find UID/GID for user %s: %v - check rootless mode in man pages.", username, err)
|
||||
} else {
|
||||
uids = mappings.UIDs()
|
||||
gids = mappings.GIDs()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue