mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
security/acme-client: avoid log message on missing restart action (fixes df2a727)
This commit is contained in:
parent
6fcc7f8a5a
commit
f86e71051b
1 changed files with 2 additions and 2 deletions
|
|
@ -971,11 +971,11 @@ function run_restart_actions($certlist, $modelObj)
|
|||
continue;
|
||||
}
|
||||
// Extract restart actions
|
||||
$_actions = explode(',', $certObj->restartActions);
|
||||
if (empty($_actions)) {
|
||||
if (empty((string)$certObj->restartActions)) {
|
||||
// No restart actions configured.
|
||||
continue;
|
||||
}
|
||||
$_actions = explode(',', $certObj->restartActions);
|
||||
// Walk through all linked restart actions.
|
||||
foreach ($_actions as $_action) {
|
||||
// Extract restart action
|
||||
|
|
|
|||
Loading…
Reference in a new issue