package: fix error message when script fails to execute
Related: https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10825cute-signatures
parent
1d473e004c
commit
386cadd0d4
|
@ -845,7 +845,7 @@ void apk_ipkg_run_script(struct apk_installed_package *ipkg,
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
err_log:
|
err_log:
|
||||||
apk_err(out, "%s: failed to execute: %s", &fn[15], apk_error_str(errno));
|
apk_err(out, "%s: failed to execute: %s", &fn[strlen(script_exec_dir)+1], apk_error_str(errno));
|
||||||
err:
|
err:
|
||||||
ipkg->broken_script = 1;
|
ipkg->broken_script = 1;
|
||||||
cleanup:
|
cleanup:
|
||||||
|
|
Loading…
Reference in New Issue