avoid forcing verbose off
authorJoey Hess <joey@kodama.kitenet.net>
Tue, 5 Aug 2008 23:40:08 +0000 (19:40 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Tue, 5 Aug 2008 23:40:08 +0000 (19:40 -0400)
Setting to undef rather than 0 means that setup files generated from
the cgi wrapper will not have verbose set to 0, but instead commented out.

ikiwiki.in

index d8e848f8727c5dbfd11bc0f9ce976e0821b68cff..beb4052273d496c23bf33ba8080feff469407a6e 100755 (executable)
@@ -132,7 +132,7 @@ sub main () { #{{{
                        foreach my $wrapper (@wrappers) {
                                %config=(%origconfig,
                                        rebuild => 0,
                        foreach my $wrapper (@wrappers) {
                                %config=(%origconfig,
                                        rebuild => 0,
-                                       verbose => 0,
+                                       verbose => undef,
                                        %{$wrapper},
                                );
                                checkconfig();
                                        %{$wrapper},
                                );
                                checkconfig();