Commit 4e898008 authored by Janek Bevendorff's avatar Janek Bevendorff

Improve error message

parent 7649fb33
......@@ -291,7 +291,7 @@ issue() {
logInfo "Signing client certificate..."
CERT="${MOUNT_DIR}/${FLAGS_type}/${FLAGS_common_name}.crt"
if [ -f "$CERT" ]; then
logError "Certificate file ${CERT} already exists, please delete it before renewal!"
logError "Certificate file '${FLAGS_type}/${FLAGS_common_name}.crt' already exists, please delete it before renewal!"
cleanup "$MOUNT_DIR"
exit 1
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment