kill_all: change execl call to execlp
This commit is contained in:
parent
cfded513cd
commit
f383fd87b1
@ -65,7 +65,7 @@ static int mount_proc(void)
|
|||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
/* attempt to mount /proc */
|
/* attempt to mount /proc */
|
||||||
execl("mount", "mount", "-t", "proc", "proc", "/proc", NULL);
|
execlp("mount", "mount", "-t", "proc", "proc", "/proc", NULL);
|
||||||
syslog(LOG_ERR, "Unable to execute mount");
|
syslog(LOG_ERR, "Unable to execute mount");
|
||||||
exit(1);
|
exit(1);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user