rework check

This commit is contained in:
Omar Polo 2023-06-24 19:42:31 +00:00
parent 287ab86538
commit a452496a96
1 changed files with 1 additions and 1 deletions

2
proc.c
View File

@ -119,7 +119,7 @@ proc_exec(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc,
/* Update args with process title and chroot. */
nargv[proc_i] = (char *)(uintptr_t)p->p_title;
if (proc_X && p->p_chroot != NULL)
if (proc_X)
nargv[proc_X] = p->p_chroot;
/* Fire children processes. */