[exim-dev] [Bug 2821] exiqgrep -r and -f options match all m…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: admin
日付:  
To: exim-dev
古いトピック: [exim-dev] [Bug 2821] New: exiqgrep -r and -f options match all messages if no regex defined
題目: [exim-dev] [Bug 2821] exiqgrep -r and -f options match all messages if no
https://bugs.exim.org/show_bug.cgi?id=2821

--- Comment #3 from Git Commit <git@???> ---
Git commit:
https://git.exim.org/exim.git/commitdiff/df618101a5ea15dc90c4a2968798ef2be9dba16f

commit df618101a5ea15dc90c4a2968798ef2be9dba16f
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Mon Oct 18 11:01:47 2021 +0100
Commit:     Jeremy Harris <jgh146exb@???>
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.