Skip to content

Commit 6c07a96

Browse files
committed
fixed typo from last commit
1 parent 5e2981f commit 6c07a96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/nginx_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ function update($event_name, $data) {
13371337
$success = false;
13381338
$letsencrypt = explode("\n", shell_exec('which letsencrypt certbot /root/.local/share/letsencrypt/bin/letsencrypt'));
13391339
$letsencrypt = reset($letsencrypt);
1340-
if(is_executable($letsencrypt) && && !empty($lddomain)) {
1340+
if(is_executable($letsencrypt) && !empty($lddomain)) {
13411341
$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");
13421342
}
13431343
if(!$success) {

0 commit comments

Comments
 (0)