Commit 6c07a965 authored by Florian Schaal's avatar Florian Schaal
Browse files

fixed typo from last commit

parent 5e2981f4
......@@ -1337,7 +1337,7 @@ class nginx_plugin {
$success = false;
$letsencrypt = explode("\n", shell_exec('which letsencrypt certbot /root/.local/share/letsencrypt/bin/letsencrypt'));
$letsencrypt = reset($letsencrypt);
if(is_executable($letsencrypt) && && !empty($lddomain)) {
if(is_executable($letsencrypt) && !empty($lddomain)) {
$success = $this->_exec($letsencrypt . " certonly -n --text --agree-tos --expand --authenticator webroot --server https://acme-v01.api.letsencrypt.org/directory --rsa-key-size 4096 --email postmaster@$domain $lddomain --webroot-path /usr/local/ispconfig/interface/acme");
}
if(!$success) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment