[PATCH v3 27/27] mdev: Use bb_system instead of system
Nadav Tasher
tashernadav at gmail.com
Mon Jan 27 00:04:38 UTC 2025
Allows for execution of the internal shell when the
FEATURE_PREFER_APPLETS config option is enabled.
Signed-off-by: Nadav Tasher <tashernadav at gmail.com>
---
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
More information about the busybox
mailing list