mirror of
https://github.com/troglobit/finit.git
synced 2026-10-14 10:19:36 +00:00
Allow services to be started without absolute path, trust $PATH
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
619bd03551
commit
6ab9c8fad6
1 file changed
+1
-1
+1
-1
@@ -339,7 +339,7 @@ static int service_start(svc_t *svc)
|
||||
else if (svc_is_runtask(svc))
|
||||
status = exec_runtask(svc->cmd, args);
|
||||
else
|
||||
status = execv(svc->cmd, args);
|
||||
status = execvp(svc->cmd, args);
|
||||
|
||||
#ifdef INETD_ENABLED
|
||||
if (svc_is_inetd_conn(svc)) {
|
||||
|
||||
Reference in new issue
Block a user