summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Setup.pm2
-rw-r--r--IkiWiki/Setup/Standard.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Setup.pm b/IkiWiki/Setup.pm
index d2d1e4b8e..a34515f21 100644
--- a/IkiWiki/Setup.pm
+++ b/IkiWiki/Setup.pm
@@ -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());
diff --git a/IkiWiki/Setup/Standard.pm b/IkiWiki/Setup/Standard.pm
index 8a11b2ec6..92f887f0c 100644
--- a/IkiWiki/Setup/Standard.pm
+++ b/IkiWiki/Setup/Standard.pm
@@ -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()) {