diff options
author | Erich Eckner <git@eckner.net> | 2019-09-03 09:55:13 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-09-03 09:55:13 +0200 |
commit | 3bf2775fd4b1982503d2773488373450378a0e73 (patch) | |
tree | 8f1069b1d221d0142d5f16bdd9c3d7753cb1a329 | |
parent | 54f6f0cd1a34f0402581259e53bcd91126e0c9f9 (diff) | |
download | simple-pki-3bf2775fd4b1982503d2773488373450378a0e73.tar.xz |
sign-request: more verbose error message
-rwxr-xr-x | sign-request.in | 2 |
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 |