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

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

diff --git a/init/bootchartd.c b/init/bootchartd.c
index 0833e0fe4..a624ed6e6 100644
--- a/init/bootchartd.c
+++ b/init/bootchartd.c
@@ -315,7 +315,7 @@ static void finalize(char *tempdir, const char *prog, int 
process_accounting)
        fclose(header_fp);
 
        /* Package log files */
-       system(xasprintf("tar -zcf /var/log/bootlog.tgz header %s *.log", 
process_accounting ? "kernel_pacct" : ""));
+       bb_system(xasprintf("tar -zcf /var/log/bootlog.tgz header %s *.log", 
process_accounting ? "kernel_pacct" : ""));
        /* Clean up (if we are not in detached tmpfs) */
        if (tempdir) {
                unlink("header");
-- 
2.43.0

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

Reply via email to