From 70a87204b9c2491a0f9c0933303b9f1c5eb2bccb Mon Sep 17 00:00:00 2001 From: Quentin Smith Date: Tue, 7 Jan 2014 00:02:06 -0500 Subject: [PATCH] Use the tighter-binding or --- web/usage.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/usage.cgi b/web/usage.cgi index 2123506..af8901b 100755 --- a/web/usage.cgi +++ b/web/usage.cgi @@ -82,7 +82,7 @@ if ($type{"sub_types"}) { } foreach my $sub_type (@sub_types) { - my $cdef = $sub_type->{"cdef"} or $type{"cdef"}; + my $cdef = $sub_type->{"cdef"} || $type{"cdef"}; my $suffix = $sub_type->{"suffix"}; my $path = catfile(GRAPH_DIR, "*-$type{plugin_name}-uuid_$uuid$suffix-?.rrd"); -- 1.7.9.5