1 |
Am Sonntag, 15. Mai 2022, 03:08:41 CEST schrieb Sam James: |
2 |
> Signed-off-by: Sam James <sam@g.o> |
3 |
> --- |
4 |
> eclass/qmail.eclass | 2 +- |
5 |
> 1 file changed, 1 insertion(+), 1 deletion(-) |
6 |
> |
7 |
> diff --git a/eclass/qmail.eclass b/eclass/qmail.eclass |
8 |
> index 471f2fe7ce5e..707cc91adfd8 100644 |
9 |
> --- a/eclass/qmail.eclass |
10 |
> +++ b/eclass/qmail.eclass |
11 |
> @@ -452,7 +452,7 @@ qmail_tcprules_config() { |
12 |
> line="${ip}${tcpstring}" |
13 |
> for proto in smtp qmtp qmqp; do |
14 |
> f="${EROOT}${TCPRULES_DIR}/tcp.qmail-${proto}" |
15 |
> - egrep -qs "${line}" "${f}" || echo "${line}" >> "${f}" |
16 |
> + grep -E -qs "${line}" "${f}" || echo "${line}" >> "${f}" |
17 |
> done |
18 |
> done |
19 |
> } |
20 |
|
21 |
NACK, but for the simple reason that this doesn't need the extended syntax |
22 |
at all. Just drop it and use plain grep here. |
23 |
|
24 |
Eike |