Skip to content

Commit

Permalink
security/acme-client: fix acme.sh deploy hook error handling (opnsens…
Browse files Browse the repository at this point in the history
fraenki committed Nov 30, 2021
1 parent 9506354 commit 83813dc
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions security/acme-client/pkg-descr
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@ Plugin Changelog

Fixed:
* fix SFTP upload (#2671)
* fix PHP error when acme.sh deploy hook returns an error (#2674)

3.5

Original file line number Diff line number Diff line change
@@ -143,9 +143,9 @@ public function runAcme()
return false;
}

// Check validation result
// Check result
if ($result) {
LeUtils::log_error('running acme.sh deploy hook failed (' . $this->getMethod() . ')');
LeUtils::log_error('running acme.sh deploy hook failed (' . $this->getType() . ')');
return false;
}

0 comments on commit 83813dc

Please sign in to comment.