From c8c2ca6cdb2cc711aca9bc8d03ab5303a1a2574b Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 10 May 2020 10:29:02 +0200 Subject: crypt-expiry-check: simplify expression --- crypt-expiry-check.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++ )) -- cgit v1.2.3-70-g09d2