diff --git a/src/etc/inc/plugins.inc.d/core.inc b/src/etc/inc/plugins.inc.d/core.inc index 37758699f..d295c2166 100644 --- a/src/etc/inc/plugins.inc.d/core.inc +++ b/src/etc/inc/plugins.inc.d/core.inc @@ -298,7 +298,7 @@ function core_cron() /** * rrd graph collector, only schedule execution when enabled */ - if (!empty($config['rrd']['enable'])) { + if (isset($config['rrd']['enable'])) { $jobs[]['autocron'] = [ '/usr/local/bin/flock -n -E 0 -o /tmp/updaterrd.lock /usr/local/opnsense/scripts/health/updaterrd.php', '*'