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

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

diff --git a/editors/vi.c b/editors/vi.c
index 34932f60c..e27b1604f 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -2956,7 +2956,7 @@ static void colon(char *buf)
                        goto ret;
                go_bottom_and_clear_to_eol();
                cookmode();
-               retcode = system(exp);  // run the cmd
+               retcode = bb_system(exp);       // run the cmd
                if (retcode)
                        printf("\nshell returned %i\n\n", retcode);
                rawmode();
-- 
2.43.0

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

Reply via email to