mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-31 05:13:45 +00:00
updated apache_vhost to actually work (at least on my debian squeeze machine..): Surrounded thaw by eval{} to suppress error at the very first run and escaped "." and "-" at the sanitizing regex in apache_pipelogger
This commit is contained in:
parent
27e4cf0fe3
commit
672fd1c32a
3 changed files with 5 additions and 5 deletions
|
@ -80,7 +80,7 @@ my $share = IPC::ShareLite->new(
|
|||
) or die $!;
|
||||
|
||||
|
||||
my %data=%{thaw $share->fetch};
|
||||
my %data=eval{%{thaw($share->fetch)}}; # using eval to suppress thaw error on empty string at the first run
|
||||
|
||||
if ( defined $ARGV[0] and $ARGV[0] eq "autoconf" ) {
|
||||
if (scalar(keys %data)>0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue