Allows for execution of the internal shell when the
FEATURE_PREFER_APPLETS config option is enabled.

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

diff --git a/networking/slattach.c b/networking/slattach.c
index 2f5cd15ab..2a37ee5de 100644
--- a/networking/slattach.c
+++ b/networking/slattach.c
@@ -222,7 +222,7 @@ int slattach_main(int argc UNUSED_PARAM, char **argv)
 
        /* Execute command on hangup */
        if (opt & OPT_c_extcmd)
-               system(extcmd);
+               bb_system(extcmd);
 
        /* Restore states and exit */
        restore_state_and_exit(EXIT_SUCCESS);
-- 
2.43.0

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

Reply via email to