[PATCH v3 24/27] man: Use bb_system instead of system

Nadav Tasher tashernadav at gmail.com
Mon Jan 27 00:04:35 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>
---
 miscutils/man.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/miscutils/man.c b/miscutils/man.c
index deaf9e5ab..f0033ebde 100644
--- a/miscutils/man.c
+++ b/miscutils/man.c
@@ -157,7 +157,7 @@ static int run_pipe(char *man_filename, int man, int level)
 	} else {
 		cmd = xstrdup(G.pager);
 	}
-	system(cmd);
+	bb_system(cmd);
 	free(cmd);
 	return 1;
 }
-- 
2.43.0



More information about the busybox mailing list