]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
allow setup file to enable verbose mode
authorJoey Hess <joey@kodama.kitenet.net>
Tue, 23 Sep 2008 17:24:20 +0000 (13:24 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Tue, 23 Sep 2008 17:24:20 +0000 (13:24 -0400)
ikiwiki.in

index 5c2d710b9c75e1eb045b70c1f5930a96865aab89..cb9e3c347814db4bdc859abbb719330745c61075 100755 (executable)
@@ -26,7 +26,7 @@ sub getconfig () { #{{{
                                IkiWiki::Setup::load($_[1]);
                                $config{setupverbose}=$config{verbose};
                                $config{setupsyslog}=$config{syslog};
-                               $config{verbose}=$verbose;
+                               $config{verbose}=$verbose || $config{setupverbose};
                                $config{syslog}=$syslog;
                                $config{setup}=1;
                        },