call checkconfig in --dumpsetup

This avoids warnings when building a setup file from scratch, in which case
some default settings need to be used.
master
Joey Hess 2011-08-05 16:48:36 -04:00
parent efbf4270c5
commit 77ba8aa7b7
1 changed files with 1 additions and 0 deletions

View File

@ -180,6 +180,7 @@ sub main () {
$config{srcdir}="" if ! defined $config{srcdir};
$config{destdir}="" if ! defined $config{destdir};
$config{syslog}=1 if $config{setupsyslog};
checkconfig();
require IkiWiki::Setup;
IkiWiki::Setup::dump($config{dumpsetup});
}