remove useless cat

Found by shellcheck.
This commit is contained in:
Simon Ruderich
2015-12-05 14:22:28 +01:00
parent a162121416
commit a53cd91694

View File

@@ -104,6 +104,6 @@ if [ "${register}" = "1" ]; then
signed_request "${CA}/acme/new-reg" '{"resource": "new-reg", "agreement": "https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf"}' > /dev/null
fi
cat domains.txt | sed 's/^\s*//g;s/\s*$//g' | grep -v '^#' | grep -v '^$' | while read line; do
sign_domain $line
<domains.txt sed 's/^\s*//g;s/\s*$//g' | grep -v '^#' | grep -v '^$' | while read line; do
sign_domain "$line"
done