On Sonntag, 1. April 2012, Munin SVN Repository Admin wrote:
> Author: steve.schnepp
> Date: 2012-04-01 20:19:48 +0200 (Sun, 01 Apr 2012)
> New Revision: 4790
>
> Modified:
> trunk/master/lib/Munin/Master/HTMLConfig.pm
> Log:
> do not emit png list if file handle is not defined. (closes #666759)
>
>
> Modified: trunk/master/lib/Munin/Master/HTMLConfig.pm
> ===================================================================
> --- trunk/master/lib/Munin/Master/HTMLConfig.pm 2012-04-01 18:15:39
UTC
> (rev 4789) +++ trunk/master/lib/Munin/Master/HTMLConfig.pm 2012-04-01
> 18:19:48 UTC (rev 4790) @@ -454,8 +454,10 @@
>
> # dump all the png filename to a file
> my $fh = $config->{"#%#graphs_fh"};
> - foreach my $img (keys %imgs) {
> - print $fh "/" . $imgs{$img} . "\n";
> + if ($fh) {
> + foreach my $img (keys %imgs) {
> + print $fh "/" . $imgs{$img} . "\n";
> + }
> }
>
> if ($method eq "cgi") {
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]