git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copyright updates:
[exim.git]
/
src
/
src
/
exiqgrep.src
diff --git
a/src/src/exiqgrep.src
b/src/src/exiqgrep.src
index c8762df479da01279db8d73d9a4a1ad3a57ecd93..9fee423e421c69581d2eaaf4abc073b614273fe4 100644
(file)
--- a/
src/src/exiqgrep.src
+++ b/
src/src/exiqgrep.src
@@
-2,6
+2,8
@@
# Utility for searching and displaying queue information.
# Written by Matt Hubbard 15 August 2002
# Utility for searching and displaying queue information.
# Written by Matt Hubbard 15 August 2002
+#
+# Copyright (c) The Exim Maintainers 2021
# Except when they appear in comments, the following placeholders in this
# source are replaced when it is turned into a runnable script:
# Except when they appear in comments, the following placeholders in this
# source are replaced when it is turned into a runnable script:
@@
-53,7
+55,7
@@
if ($ARGV[0] eq '--version') {
exit 0;
}
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'; }
if ($ARGV[0]) { &help; exit;}
if ($opt{h}) { &help; exit;}
if ($opt{a}) { $eargs = '-bp'; }