diff --git a/Netdisco/Changes b/Netdisco/Changes index 9a060605..d1b06489 100644 --- a/Netdisco/Changes +++ b/Netdisco/Changes @@ -21,7 +21,8 @@ * Sort CDP/LLDP data to be more consistent when multiple neighbors on a port * Fix POD errors in Nbtstat and ResultSet::Device (thanks cpants :) * UTF-8 encoding for Port Name (description) - * Allow process grouping to work portably againa (daemon config watch) + * Allow process grouping to work portably again (daemon config watch) + * Only start scheduler when schedule config exists 2.028013 - 2014-07-31 diff --git a/Netdisco/lib/App/Netdisco/Configuration.pm b/Netdisco/lib/App/Netdisco/Configuration.pm index 762f2d70..fe21ae77 100644 --- a/Netdisco/lib/App/Netdisco/Configuration.pm +++ b/Netdisco/lib/App/Netdisco/Configuration.pm @@ -63,7 +63,7 @@ delete config->{'housekeeping'}; # schedule expire used to be called expiry setting('schedule')->{expire} ||= setting('schedule')->{expiry} if setting('schedule') and exists setting('schedule')->{expiry}; -delete config->{'schedule'}->{'expiry'}; +delete config->{'schedule'}->{'expiry'} if setting('schedule'); # upgrade reports config from hash to list if (setting('reports') and ref {} eq ref setting('reports')) {