From f383fd87b121492a04362ca9041f686d981718f1 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sat, 24 Feb 2018 17:02:02 -0600 Subject: kill_all: change execl call to execlp --- src/rc/kill_all.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3