Sfoglia il codice sorgente

Fix startup hang due to unresolved promise

Affects instances where there are certs but none
of them are dns validated
Jamie Curnow 1 anno fa
parent
commit
da820db4e1
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      backend/lib/certbot.js

+ 1 - 0
backend/lib/certbot.js

@@ -16,6 +16,7 @@ const certbot = {
 
 		return new Promise((resolve, reject) => {
 			if (pluginKeys.length === 0) {
+				resolve();
 				return;
 			}