diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-10-29 14:28:55 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-10-29 14:28:55 -0400 |
commit | 26e1fe20218f8072a807c24eb129ecd5948b7d06 (patch) | |
tree | 55670760cc25b75261f0e3dc6f74b7537c40c32a /ikiwiki.in | |
parent | 33a0e84ddbb9fe9c068cb40641ccec8554514151 (diff) | |
download | ikiwiki-26e1fe20218f8072a807c24eb129ecd5948b7d06.tar ikiwiki-26e1fe20218f8072a807c24eb129ecd5948b7d06.tar.gz |
Preserve syslog setting when doing `ikiwiki -setup foo -dumpsetup bar`
The syslog value from the setup file is purposfully ignored when doing
ikiwiki -setup, so that it will output to stdout (while generating wrappers
that do use the syslog). But that caused -dumpsetup to not preserve
the syslog value from the setup file.
Diffstat (limited to 'ikiwiki.in')
-rwxr-xr-x | ikiwiki.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ikiwiki.in b/ikiwiki.in index af5cabdc0..ca499b115 100755 --- a/ikiwiki.in +++ b/ikiwiki.in @@ -163,6 +163,7 @@ sub main () { #{{{ if ($config{dumpsetup}) { $config{srdir}=$config{destdir}=""; + $config{syslog}=1 if $config{setupsyslog}; require IkiWiki::Setup; IkiWiki::Setup::dump($config{dumpsetup}); } |