Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/
Date: Sat, 24 Feb 2018 23:03:43
Message-Id: 1519513322.f383fd87b121492a04362ca9041f686d981718f1.williamh@OpenRC
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;