Only set housekeeping default if user has enabled

This commit is contained in:
Oliver Gorwits
2014-03-30 02:17:29 +01:00
parent 02aa1508e9
commit 164206a7a7
2 changed files with 2 additions and 1 deletions

View File

@@ -52,7 +52,7 @@ setting('dns')->{hosts_file} ||= '/etc/hosts';
# housekeeping expire used to be called expiry
setting('housekeeping')->{expire} ||= setting('housekeeping')->{expiry}
if exists setting('housekeeping')->{expiry};
if setting('housekeeping') and exists setting('housekeeping')->{expiry};
=head1 NAME