1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-16 14:27:01 +00:00

test/t-22-forward_via: Group shell redirections

This patch groups a series of commands that redirect to a file into a
single grouped redirect, for readability reasons.

Suggested by shellcheck SC2129.
This commit is contained in:
Alberto Bertogli
2025-10-24 12:42:35 +01:00
parent 5c2566c9b1
commit 40edb42848

View File

@@ -38,9 +38,11 @@ CONFDIR=external chasquid-util dkim-keygen --algo=ed25519 \
# Launch minidns in the background using our configuration.
# Augment the zones with the dkim ones.
cp zones .zones
CONFDIR=primary chasquid-util dkim-dns dodo | sed 's/"//g' >> .zones
CONFDIR=secondary chasquid-util dkim-dns dodo | sed 's/"//g' >> .zones
CONFDIR=external chasquid-util dkim-dns kiwi | sed 's/"//g' >> .zones
{
CONFDIR=primary chasquid-util dkim-dns dodo | sed 's/"//g'
CONFDIR=secondary chasquid-util dkim-dns dodo | sed 's/"//g'
CONFDIR=external chasquid-util dkim-dns kiwi | sed 's/"//g'
} >> .zones
minidns_bg --addr=":9053" -zones=.zones >> .minidns.log 2>&1