public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] memory.cgi: Fix missing qoutes.
@ 2021-06-19 13:52 Stefan Schantl
  2021-06-20 18:45 ` Adolf Belka
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Schantl @ 2021-06-19 13:52 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 714 bytes --]

Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
 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();
-- 
2.20.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] memory.cgi: Fix missing qoutes.
  2021-06-19 13:52 [PATCH] memory.cgi: Fix missing qoutes Stefan Schantl
@ 2021-06-20 18:45 ` Adolf Belka
  0 siblings, 0 replies; 2+ messages in thread
From: Adolf Belka @ 2021-06-20 18:45 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 892 bytes --]

Reviewed-by: Adolf Belka <adolf.belka(a)ipfire.org>

Tested-by: Adolf Belka <adolf.belka(a)ipfire.org>

On 19/06/2021 15:52, Stefan Schantl wrote:
> Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
> ---
>   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();

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-20 18:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-19 13:52 [PATCH] memory.cgi: Fix missing qoutes Stefan Schantl
2021-06-20 18:45 ` Adolf Belka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox