exit when there was no renewal.
This commit is contained in:
parent
ec62d48bbb
commit
08838d0704
|
@ -17,8 +17,9 @@ logger "acme-pg-hook: Check if the certificate has been renewed"
|
|||
cmp ${LE_CERTS_DIR}/cert ${VSFTPD_CERTFILE}
|
||||
RETVAL=$?
|
||||
if [ $RETVAL -eq 0 ] ; then
|
||||
logger "acme-vsftpd-hook: No new cerficate."
|
||||
echo "acme-vsftpd-hook: No new cerficate." >> $LE_LOG_DIR/vsftpd.log
|
||||
logger "acme-vsftpd-hook: No new cerficate, exiting."
|
||||
echo "acme-vsftpd-hook: No new cerficate, exiting." >> $LE_LOG_DIR/vsftpd.log
|
||||
exit 0
|
||||
else
|
||||
logger "acme-vsftpd-hook: Copying the certificate file"
|
||||
echo "Copy the key file" >> $LE_LOG_DIR/vsftpd.log
|
||||
|
|
Loading…
Reference in New Issue