io_url_wget: correctly init wget_out on apk_io_url_init call
Commit fc7768c0 ("io_url_wget: log wget output using apk_process api") reworked the implementation but forgot to init the static wget_out on calling apk_io_url_init. This cause APK to SIGFAULT on apk update or apk add when actually using the WGET method to download remote packages. Fix this by setting wget_out with the passed out from apk_io_url_init. Reported-by:John Crispin <john@phrozen.org> Fixes: fc7768c0 ("io_url_wget: log wget output using apk_process api") Signed-off-by:
Christian Marangi <ansuelsmth@gmail.com>
parent
0fe23ce1
No related branches found
No related tags found
Please register or sign in to comment