Allows for execution of the internal shell when the FEATURE_PREFER_APPLETS config option is enabled.
Signed-off-by: Nadav Tasher <[email protected]> --- archival/dpkg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archival/dpkg.c b/archival/dpkg.c index 8031956e9..214c49734 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c @@ -1268,7 +1268,7 @@ static void run_package_script_or_die(const char *package_name, const char *scri script_path = xasprintf("/var/lib/dpkg/info/%s.%s", package_name, script_type); /* If the file doesn't exist it isn't fatal */ - result = access(script_path, F_OK) ? EXIT_SUCCESS : system(script_path); + result = access(script_path, F_OK) ? EXIT_SUCCESS : bb_system(script_path); free(script_path); if (result) bb_error_msg_and_die("%s failed, exit code %d", script_type, result); -- 2.43.0 _______________________________________________ busybox mailing list [email protected] https://lists.busybox.net/mailman/listinfo/busybox
