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=891d00bae1ac17af6bf736e3ea4bc9238b678e89

commit 891d00bae1ac17af6bf736e3ea4bc9238b678e89
Author: Guillem Jover <[email protected]>
AuthorDate: Wed Aug 6 00:06:00 2025 +0200

    dpkg: Rename maintscript_exec() warn argument to subproc_opts
    
    This more clearly represents what the argument is being used for.
    
    Changelog: internal
---
 src/main/script.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/script.c b/src/main/script.c
index d6f9f145e..c6d7e7934 100644
--- a/src/main/script.c
+++ b/src/main/script.c
@@ -170,7 +170,7 @@ maintscript_set_exec_context(struct command *cmd)
 
 static int
 maintscript_exec(struct pkginfo *pkg, struct pkgbin *pkgbin,
-                 struct command *cmd, struct stat *stab, int warn)
+                 struct command *cmd, struct stat *stab, int subproc_opts)
 {
        pid_t pid;
        int rc;
@@ -205,7 +205,7 @@ maintscript_exec(struct pkginfo *pkg, struct pkgbin *pkgbin,
                command_exec(cmd);
        }
        subproc_signals_ignore(cmd->name);
-       rc = subproc_reap(pid, cmd->name, warn);
+       rc = subproc_reap(pid, cmd->name, subproc_opts);
        subproc_signals_restore();
 
        pop_cleanup(ehflag_normaltidy);

-- 
Dpkg.Org's dpkg

Reply via email to