avoid forcing syslog setting
This avoids forcing the setting to 0 if it was not set at all.master
parent
c8d3626c51
commit
4b994ffed1
|
@ -79,7 +79,7 @@ sub getsetup () { #{{{
|
|||
# disable logging to syslog while dumping, broken plugins may
|
||||
# whine when loaded
|
||||
my $syslog=$config{syslog};
|
||||
$config{syslog}=0;
|
||||
$config{syslog}=undef;
|
||||
|
||||
# Load all plugins, so that all setup options are available.
|
||||
my @plugins=grep { $_ ne $config{rcs} } sort(IkiWiki::listplugins());
|
||||
|
|
|
@ -86,7 +86,7 @@ sub gendump ($) { #{{{
|
|||
my @ret;
|
||||
|
||||
# disable logging to syslog while dumping
|
||||
$config{syslog}=0;
|
||||
$config{syslog}=undef;
|
||||
|
||||
push @ret, dumpvalues(\%setup, IkiWiki::getsetup());
|
||||
foreach my $pair (IkiWiki::Setup::getsetup()) {
|
||||
|
|
Loading…
Reference in New Issue