acme-sh-request-cert: do not fail if there's a valid, and not expiring, certificate already.
This commit is contained in:
parent
d019c0d8cd
commit
94ffed10c9
|
@ -48,4 +48,8 @@ if [ $RETVAL -eq 0 ] ; then
|
|||
touch "$ACME_SH_CONFIG_HOME/ok_certificate_issued"
|
||||
fi
|
||||
|
||||
if [ $RETVAL -eq 2 ] ; then
|
||||
# There is a valid certificate already
|
||||
exit 0
|
||||
fi
|
||||
exit $RETVAL
|
||||
|
|
Loading…
Reference in New Issue