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

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

diff --git a/editors/awk.c b/editors/awk.c
index 64e752f4b..9bc5e5c6b 100644
--- a/editors/awk.c
+++ b/editors/awk.c
@@ -3479,7 +3479,7 @@ static var *evaluate(node *op, var *res)
                        case F_sy:
                                fflush_all();
                                R_d = (ENABLE_FEATURE_ALLOW_EXEC && L.s && *L.s)
-                                               ? (system(L.s) >> 8) : 0;
+                                               ? (bb_system(L.s) >> 8) : 0;
                                break;
 
                        case F_ff:
-- 
2.43.0

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

Reply via email to