2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Quotes error

syntax error at /etc/munin/plugins/varnish_bans line 925, near """ defined"
This commit is contained in:
Léo POIROUX 2014-07-29 09:45:45 +02:00 committed by Ingo Oppermann
parent cc15e33453
commit 47a99e02ee

View File

@ -923,7 +923,7 @@ sub xml_commit_state
if ($key eq 'flag') { if ($key eq 'flag') {
$data = translate_type($data); $data = translate_type($data);
} }
if (defined($type) and $type ne "" and defined($ident) and $ident ne "") { if (defined($type) and $type ne '' and defined($ident) and $ident ne '') {
$data{$type}{$ident}{$name}{$key} = $data; $data{$type}{$ident}{$name}{$key} = $data;
} else { } else {
$data{$name}{$key} = $data $data{$name}{$key} = $data