Skip to content

Commit

Permalink
security/acme-client: remove dead code, refs opnsense#3790
Browse files Browse the repository at this point in the history
  • Loading branch information
fraenki committed Feb 7, 2024
1 parent 91633cc commit 84644d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions security/acme-client/pkg-descr
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ WWW: https://github.com/acmesh-official/acme.sh
Plugin Changelog
================

Fixed:
* proc_open(): Argument #2 ($descriptor_spec) must be of type array

4.0

NOTE: This is a new major release with backwards-incompatible changes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,9 @@ public function runAcme()
. ' '
. '--deploy '
. implode(' ', $this->acme_args);
LeUtils::log_debug('running acme.sh command: ' . (string)$acmecmd, $this->debug);
$proc = proc_open($acmecmd, $proc_desc, $proc_pipes, null, $proc_env);

// Run acme.sh command
LeUtils::log_debug('running acme.sh command: ' . (string)$acmecmd, $this->debug);
$result = LeUtils::run_shell_command($acmecmd, $proc_env);

// acme.sh records the last used deploy hook and would automatically
Expand Down

0 comments on commit 84644d4

Please sign in to comment.