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 ed8a615e55
commit d658c583e8

View File

@ -923,7 +923,7 @@ sub xml_commit_state
if ($key eq 'flag') {
$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;
} else {
$data{$name}{$key} = $data