diff options
author | Erich Eckner <git@eckner.net> | 2020-05-10 10:29:02 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-05-10 10:42:55 +0200 |
commit | c8c2ca6cdb2cc711aca9bc8d03ab5303a1a2574b (patch) | |
tree | 03c14fec10d6914f88568f71069247cc7322e9e2 /crypt-expiry-check.in | |
parent | d414dda2cc62bdb6cba459d5530b27cb578568c1 (diff) | |
download | crypt-expiry-check-c8c2ca6cdb2cc711aca9bc8d03ab5303a1a2574b.tar.xz |
crypt-expiry-check: simplify expression
Diffstat (limited to 'crypt-expiry-check.in')
-rwxr-xr-x | crypt-expiry-check.in | 2 |
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++ )) |