Skip to content

Commit 3a75526

Browse files
authored
Merge pull request #453 from mrrobot47/fix/cert-return
Fix/cert return
2 parents 4e5842f + 8d93a25 commit 3a75526

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/helper/Site_Letsencrypt.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,8 @@ private function executeFirstRequest( $domain, array $alternativeNames, $email )
488488

489489
// Post-generate actions
490490
$this->moveCertsToNginxProxy( $domain );
491+
492+
return true;
491493
}
492494

493495
private function moveCertsToNginxProxy( string $domain ) {
@@ -636,6 +638,8 @@ private function executeRenewal( $domain, array $alternativeNames, $force = fals
636638
$this->moveCertsToNginxProxy( $domain );
637639
\EE::log( 'Certificate renewed successfully!' );
638640

641+
return true;
642+
639643
} catch ( \Exception $e ) {
640644
\EE::warning( 'A critical error occured during certificate renewal' );
641645
\EE::debug( print_r( $e, true ) );

0 commit comments

Comments
 (0)