summaryrefslogtreecommitdiff
path: root/src/daemontools-extras/s6-setuidgid.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-08-28 13:59:16 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-08-28 13:59:16 +0000
commit04b699857c141a93fc981b83ba02b452ce3a2ddc (patch)
treef22701124126003ef8f3bca685c94b0de0cd9dec /src/daemontools-extras/s6-setuidgid.c
parenta4deb6285e4a3d4aa10fe1913e0be400ec4be25e (diff)
downloads6-04b699857c141a93fc981b83ba02b452ce3a2ddc.tar.xz
Switch to xpathexec_*
Diffstat (limited to 'src/daemontools-extras/s6-setuidgid.c')
-rw-r--r--src/daemontools-extras/s6-setuidgid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/daemontools-extras/s6-setuidgid.c b/src/daemontools-extras/s6-setuidgid.c
index 1893883..f8ba542 100644
--- a/src/daemontools-extras/s6-setuidgid.c
+++ b/src/daemontools-extras/s6-setuidgid.c
@@ -39,6 +39,5 @@ int main (int argc, char *const *argv, char const *const *envp)
newargv[m++] = "--" ;
while (*argv) newargv[m++] = *argv++ ;
newargv[m++] = 0 ;
- pathexec_run(newargv[0], newargv, envp) ;
- strerr_dieexec(111, newargv[0]) ;
+ xpathexec_run(newargv[0], newargv, envp) ;
}