Signed-off-by: Nadav Tasher <[email protected]>
---
 init/halt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init/halt.c b/init/halt.c
index 7aea8cfec..471502686 100644
--- a/init/halt.c
+++ b/init/halt.c
@@ -230,7 +230,7 @@ int halt_main(int argc UNUSED_PARAM, char **argv)
                                /* runlevels:
                                 * 0 == shutdown
                                 * 6 == reboot */
-                               execlp(CONFIG_TELINIT_PATH,
+                               BB_EXECLP(CONFIG_TELINIT_PATH,
                                                CONFIG_TELINIT_PATH,
                                                which == 2 ? "6" : "0",
                                                (char *)NULL
-- 
2.34.1

_______________________________________________
busybox mailing list
[email protected]
https://lists.busybox.net/mailman/listinfo/busybox

Reply via email to