aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rc/kill_all.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/kill_all.c b/src/rc/kill_all.c
index d6ce354b..3aeaa262 100644
--- a/src/rc/kill_all.c
+++ b/src/rc/kill_all.c
@@ -65,7 +65,7 @@ static int mount_proc(void)
break;
case 0:
/* 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");
exit(1);
break;