From 6239e587f047e6d1f73ede8c7562b5ec6b26815d Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sat, 19 Jun 2021 15:52:34 +0200 Subject: [PATCH] memory.cgi: Fix missing qoutes. Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- html/cgi-bin/memory.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/memory.cgi b/html/cgi-bin/memory.cgi index dea7e36685..441b1d4e79 100644 --- a/html/cgi-bin/memory.cgi +++ b/html/cgi-bin/memory.cgi @@ -56,7 +56,7 @@ if ( $querry[0] =~ "memory"){ &Graphs::makegraphbox("memory.cgi","memory","day"); &Header::closebox(); - if (-f $mainsettings{'RRDLOG'}/collectd/localhost/swap) { + if (-f "$mainsettings{'RRDLOG'}/collectd/localhost/swap") { &Header::openbox('100%', 'center', "Swap $Lang::tr{'graph'}"); &Graphs::makegraphbox("memory.cgi","swap","day"); &Header::closebox(); -- 2.39.2