summaryrefslogtreecommitdiff
path: root/src/supervision/s6-svscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/supervision/s6-svscan.c')
-rw-r--r--src/supervision/s6-svscan.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/supervision/s6-svscan.c b/src/supervision/s6-svscan.c
index 690a068..497970e 100644
--- a/src/supervision/s6-svscan.c
+++ b/src/supervision/s6-svscan.c
@@ -296,8 +296,7 @@ static void trystart (unsigned int i, char const *name, int islog)
if (services[i].flaglog)
if (fd_move(!islog, services[i].p[!islog]) == -1)
strerr_diefu2sys(111, "set fds for ", name) ;
- pathexec_run(S6_BINPREFIX "s6-supervise", cargv, (char const **)environ) ;
- strerr_dieexec(111, S6_BINPREFIX "s6-supervise") ;
+ xpathexec_run(S6_BINPREFIX "s6-supervise", cargv, (char const **)environ) ;
}
}
services[i].pid[islog] = pid ;