summaryrefslogtreecommitdiff
path: root/pkg/rootless/rootless_linux.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-04-27 10:24:44 -0400
committerGitHub <noreply@github.com>2021-04-27 10:24:44 -0400
commitabda7961d63b1d240f72022757e6be1673e43897 (patch)
treea4875781d17d2e0cec2fe56604755ba83f6969f5 /pkg/rootless/rootless_linux.go
parent3148e01651e939f345242d582d82a068d1c6dd7e (diff)
parent09e640d1b5dbfaa47abb2ac2357ce8e96b108ae3 (diff)
downloadpodman-abda7961d63b1d240f72022757e6be1673e43897.tar.gz
podman-abda7961d63b1d240f72022757e6be1673e43897.tar.bz2
podman-abda7961d63b1d240f72022757e6be1673e43897.zip
Merge pull request #9788 from andrewshadura/rootless-friendly-error
[CI:DOCS] rootless: Tell the user what was led to the error, not just what it is
Diffstat (limited to 'pkg/rootless/rootless_linux.go')
-rw-r--r--pkg/rootless/rootless_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/rootless/rootless_linux.go b/pkg/rootless/rootless_linux.go
index fdfeed854..6eff25eb9 100644
--- a/pkg/rootless/rootless_linux.go
+++ b/pkg/rootless/rootless_linux.go
@@ -116,7 +116,7 @@ func tryMappingTool(uid bool, pid int, hostID int, mappings []idtools.IDMap) err
}
path, err := exec.LookPath(tool)
if err != nil {
- return errors.Wrapf(err, "cannot find %s", tool)
+ return errors.Wrapf(err, "command required for rootless mode with multiple IDs")
}
appendTriplet := func(l []string, a, b, c int) []string {