From 9afd5e31c8e2d6a59868ec834cb1893c24a9c12b Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Fri, 17 Jun 2022 11:14:06 +0200 Subject: rootless: improve error messages Signed-off-by: Giuseppe Scrivano --- pkg/rootless/rootless_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/rootless/rootless_linux.go') diff --git a/pkg/rootless/rootless_linux.go b/pkg/rootless/rootless_linux.go index 5af9a978b..cbc2bc1f5 100644 --- a/pkg/rootless/rootless_linux.go +++ b/pkg/rootless/rootless_linux.go @@ -182,7 +182,7 @@ func joinUserAndMountNS(pid uint, pausePid string) (bool, int, error) { pidC := C.reexec_userns_join(C.int(pid), cPausePid) if int(pidC) < 0 { - return false, -1, errors.Errorf("cannot re-exec process") + return false, -1, errors.Errorf("cannot re-exec process to join the existing user namespace") } ret := C.reexec_in_user_namespace_wait(pidC, 0) -- cgit v1.2.3-54-g00ecf