From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: Re: [PATCH] memory.cgi: Fix missing qoutes. Date: Sun, 20 Jun 2021 20:45:19 +0200 Message-ID: In-Reply-To: <20210619135234.2025-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3677720372196431604==" List-Id: --===============3677720372196431604== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Reviewed-by: Adolf Belka Tested-by: Adolf Belka On 19/06/2021 15:52, Stefan Schantl wrote: > Signed-off-by: Stefan Schantl > --- > 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 dea7e3668..441b1d4e7 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(); --===============3677720372196431604==--