https://bugs.exim.org/show_bug.cgi?id=2821
Git Commit <g...@exim.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |g...@exim.org Hardware| |All --- Comment #2 from Git Commit <g...@exim.org> --- Git commit: https://git.exim.org/exim.git/commitdiff/df618101a5ea15dc90c4a2968798ef2be9dba16f commit df618101a5ea15dc90c4a2968798ef2be9dba16f Author: Jeremy Harris <jgh146...@wizmail.org> AuthorDate: Mon Oct 18 11:01:47 2021 +0100 Commit: Jeremy Harris <jgh146...@wizmail.org> CommitDate: Mon Oct 18 11:01:47 2021 +0100 Exiqgrep: check arg parsing. Bug 2821 --- src/src/exiqgrep.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/src/exiqgrep.src b/src/src/exiqgrep.src index c8762df..04602da 100644 --- a/src/src/exiqgrep.src +++ b/src/src/exiqgrep.src @@ -53,7 +53,7 @@ if ($ARGV[0] eq '--version') { exit 0; } -getopts('hf:r:y:o:s:C:zxlibRcaG:',\%opt); +if (!getopts('hf:r:y:o:s:C:zxlibRcaG:',\%opt) { &help; exit;} if ($ARGV[0]) { &help; exit;} if ($opt{h}) { &help; exit;} if ($opt{a}) { $eargs = '-bp'; } -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##