This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=b18a26e75411308657fd827824bbc91ebccc4ec6 commit b18a26e75411308657fd827824bbc91ebccc4ec6 Author: Guillem Jover <[email protected]> AuthorDate: Sat Jul 26 02:45:13 2025 +0200 dpkg: Print maintscript fallback success message after finishing actions We should run every part of the function that performs some actions, and only when we are done, then print the success message. --- src/main/script.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/script.c b/src/main/script.c index ee40b1654..dfc302259 100644 --- a/src/main/script.c +++ b/src/main/script.c @@ -390,11 +390,12 @@ maintscript_fallback(struct pkginfo *pkg, } maintscript_exec(pkg, &pkg->available, &cmd, &stab, 0); - notice(_("... it looks like that went OK")); command_destroy(&cmd); free(scriptdesc); post_script_tasks(); + notice(_("... it looks like that went OK")); + return 1; } -- Dpkg.Org's dpkg

