summaryrefslogtreecommitdiff
path: root/pkg/rootless
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/rootless')
-rw-r--r--pkg/rootless/rootless_linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/rootless/rootless_linux.c b/pkg/rootless/rootless_linux.c
index 0f2008375..f2684f75f 100644
--- a/pkg/rootless/rootless_linux.c
+++ b/pkg/rootless/rootless_linux.c
@@ -112,7 +112,7 @@ reexec_in_user_namespace(int ready)
setresuid (0, 0, 0) < 0)
_exit (1);
- execv (argv[0], argv);
+ execvp (argv[0], argv);
_exit (1);
}