Display key file path on success
This commit is contained in:
parent
ab4e3e5de1
commit
fdb9f46e35
4
shellpki
4
shellpki
|
@ -523,7 +523,9 @@ create() {
|
||||||
${pass_args} \
|
${pass_args} \
|
||||||
${KEY_LENGTH} \
|
${KEY_LENGTH} \
|
||||||
>/dev/null 2>&1
|
>/dev/null 2>&1
|
||||||
if [ "$?" -ne 0 ]; then
|
if [ "$?" -eq 0 ]; then
|
||||||
|
echo "The KEY file is available at \`${key_file}'"
|
||||||
|
else
|
||||||
error "Error generating the private key"
|
error "Error generating the private key"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue