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=f013195c70995235340e99107058f591175f0a57 commit f013195c70995235340e99107058f591175f0a57 Author: Guillem Jover <[email protected]> AuthorDate: Fri Apr 14 04:35:48 2023 +0200 libdpkg: Pass -- after sh -c to avoid bogus option parsing Prompted-by: Joe Simmons-Talbott <[email protected]> (on libc-alpha) --- lib/dpkg/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dpkg/command.c b/lib/dpkg/command.c index ab89d4b9b..73f58f61a 100644 --- a/lib/dpkg/command.c +++ b/lib/dpkg/command.c @@ -206,6 +206,6 @@ command_shell(const char *cmd, const char *name) if (str_is_unset(shell)) shell = DEFAULTSHELL; - execlp(shell, shell, mode, cmd, NULL); + execlp(shell, shell, mode, "--", cmd, NULL); ohshite(_("unable to execute %s (%s)"), name, cmd); } -- Dpkg.Org's dpkg

