diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2018-02-24 17:02:02 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2018-02-24 17:02:02 -0600 |
commit | f383fd87b121492a04362ca9041f686d981718f1 (patch) | |
tree | afe8f93f13f6949d52d8b26d69afcd314112f91b /src | |
parent | cfded513cd9b7febe4b7cf39a80411e4303f0655 (diff) |
kill_all: change execl call to execlp
Diffstat (limited to 'src')
-rw-r--r-- | src/rc/kill_all.c | 2 |
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; |