public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] memory.cgi: Fix missing qoutes.
Date: Sun, 20 Jun 2021 20:45:19 +0200	[thread overview]
Message-ID: <ba279043-4986-5b37-ea93-ad974808b358@ipfire.org> (raw)
In-Reply-To: <20210619135234.2025-1-stefan.schantl@ipfire.org>

[-- 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();

      reply	other threads:[~2021-06-20 18:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-19 13:52 Stefan Schantl
2021-06-20 18:45 ` Adolf Belka [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ba279043-4986-5b37-ea93-ad974808b358@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox