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

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

diff --git a/util-linux/mdev.c b/util-linux/mdev.c
index e98d46743..bbf1eff1b 100644
--- a/util-linux/mdev.c
+++ b/util-linux/mdev.c
@@ -804,7 +804,7 @@ static void make_device(char *device_name, char *path, int 
operation)
                        char *s = xasprintf("%s=%s", "MDEV", node_name);
                        putenv(s);
                        dbg1("running: %s", command);
-                       if (system(command) == -1)
+                       if (bb_system(command) == -1)
                                bb_perror_msg("can't run '%s'", command);
                        bb_unsetenv_and_free(s);
                }
-- 
2.43.0

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

Reply via email to