소스 검색

Fix startup hang due to unresolved promise

Affects instances where there are certs but none
of them are dns validated
Jamie Curnow 1 년 전
부모
커밋
da820db4e1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;
 			}