1 |
commit: f383fd87b121492a04362ca9041f686d981718f1 |
2 |
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Feb 24 23:02:02 2018 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 24 23:02:02 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=f383fd87 |
7 |
|
8 |
kill_all: change execl call to execlp |
9 |
|
10 |
src/rc/kill_all.c | 2 +- |
11 |
1 file changed, 1 insertion(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/src/rc/kill_all.c b/src/rc/kill_all.c |
14 |
index d6ce354b..3aeaa262 100644 |
15 |
--- a/src/rc/kill_all.c |
16 |
+++ b/src/rc/kill_all.c |
17 |
@@ -65,7 +65,7 @@ static int mount_proc(void) |
18 |
break; |
19 |
case 0: |
20 |
/* attempt to mount /proc */ |
21 |
- execl("mount", "mount", "-t", "proc", "proc", "/proc", NULL); |
22 |
+ execlp("mount", "mount", "-t", "proc", "proc", "/proc", NULL); |
23 |
syslog(LOG_ERR, "Unable to execute mount"); |
24 |
exit(1); |
25 |
break; |