*edit - check ssl just when other error is not already in

This commit is contained in:
Ing. Petr Suchy 2020-02-07 07:59:50 +01:00
parent 45d1c03e5a
commit 8fa1bf6c0d
No known key found for this signature in database
GPG Key ID: 5BC9AFE53BB0E8A2
1 changed files with 4 additions and 2 deletions

View File

@ -366,8 +366,10 @@ class StatusUpdater
}
}
// Check ssl cert
$this->checkSsl($this->server, $this->error, $result);
// Check ssl cert just when other error is not already in...
if ($result !== false) {
$this->checkSsl($this->server, $this->error, $result);
}
// check if server is available and rerun if asked.
if (!$result && $run < $max_runs) {