summaryrefslogtreecommitdiff
path: root/crypt-expiry-check.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-05-10 10:29:02 +0200
committerErich Eckner <git@eckner.net>2020-05-10 10:42:55 +0200
commitc8c2ca6cdb2cc711aca9bc8d03ab5303a1a2574b (patch)
tree03c14fec10d6914f88568f71069247cc7322e9e2 /crypt-expiry-check.in
parentd414dda2cc62bdb6cba459d5530b27cb578568c1 (diff)
downloadcrypt-expiry-check-c8c2ca6cdb2cc711aca9bc8d03ab5303a1a2574b.tar.xz
crypt-expiry-check: simplify expression
Diffstat (limited to 'crypt-expiry-check.in')
-rwxr-xr-xcrypt-expiry-check.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypt-expiry-check.in b/crypt-expiry-check.in
index ae706eb..4777ea8 100755
--- a/crypt-expiry-check.in
+++ b/crypt-expiry-check.in
@@ -628,7 +628,7 @@ do
else
check_server_status "${HOST}" "${PORT}"
fi
- done <<< "$(sed '/^#|^$/d;s/\(.*\S\) \+\(\S\+\)/\2 \1/' ${SERVERFILES[${i}]})"
+ done < <(sed '/^#|^$/d;s/\(.*\S\) \+\(\S\+\)/\2 \1/' ${SERVERFILES[${i}]})
done
for (( i=0; i<${#CERTFILES[@]}; i++ ))