summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-03 09:55:13 +0200
committerErich Eckner <git@eckner.net>2019-09-03 09:55:13 +0200
commit3bf2775fd4b1982503d2773488373450378a0e73 (patch)
tree8f1069b1d221d0142d5f16bdd9c3d7753cb1a329
parent54f6f0cd1a34f0402581259e53bcd91126e0c9f9 (diff)
downloadsimple-pki-3bf2775fd4b1982503d2773488373450378a0e73.tar.xz
sign-request: more verbose error message
-rwxr-xr-xsign-request.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sign-request.in b/sign-request.in
index 954789e..c4d9ba7 100755
--- a/sign-request.in
+++ b/sign-request.in
@@ -23,7 +23,7 @@ while read -r csr; do
if ! content=$(
openssl req -text -noout -verify -in "${csr_local}" 2>/dev/null
); then
- >&2 echo 'verify failed - skipping'
+ >&2 printf 'verify of %s failed - skipping\n' "${csr_local##*/}"
rm "${csr_local}"
continue
fi