From: Stefan Schantl Date: Sat, 19 Jun 2021 13:52:34 +0000 (+0200) Subject: memory.cgi: Fix missing qoutes. X-Git-Tag: v2.25-core158~33^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6239e587f047e6d1f73ede8c7562b5ec6b26815d;p=ipfire-2.x.git memory.cgi: Fix missing qoutes. Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- 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();