From patchwork Sat Jun 19 13:52:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 4443 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4G6cgM0pwVz3x6s for ; Sat, 19 Jun 2021 13:52:47 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4G6cgL1H1Dzxx; Sat, 19 Jun 2021 13:52:46 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4G6cgK6pW0z2y3q; Sat, 19 Jun 2021 13:52:45 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4G6cgJ3QpHz2xKp for ; Sat, 19 Jun 2021 13:52:44 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4G6cgH2WHyzrM; Sat, 19 Jun 2021 13:52:43 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1624110763; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=pf4iIOdr8nYA9MYDFaBRpw3m0UqJEkndy/LlVpkWX8Q=; b=2m1yFXr017tdCHvMU3bzRjxyUfqBvaknSA3DSTw7/rKfaxabe5O7x0H7TgGvxHRDPlmBNd xlcSHTP/0xnG8CBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1624110763; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=pf4iIOdr8nYA9MYDFaBRpw3m0UqJEkndy/LlVpkWX8Q=; b=jlCvyoK5tnpXsvAT9URYvlDbI7Fo6bsRxNzUn9CSxyImvOi8ZDOj/Ik9exndk/vrUxXBuB vAqzlvI8n7hE+b8+q1ejxxal6fLNPa1zTfv2EVbBaVaOGYi5ECLbqqSujVYTXSENhxbzxl ZuJh/N2SYbtBLZsNJr2lo6K5fnH4N7rWcarKsrg//ZtHskloFZpEb5FZLvLe2jqOem8Tgf eqLxU0UJq//LWTllAlq1F08X8mea4lP0CGwjKyMVlz1f0kJ7AtiwvH6u4JhXBhmJKmF+Wl Gj7zU3RhRzfKfheg+liqEvCmxHB4jOUkD0gyjT1QzNnl5Zv51XT0jXwyhMYLuw== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] memory.cgi: Fix missing qoutes. Date: Sat, 19 Jun 2021 15:52:34 +0200 Message-Id: <20210619135234.2025-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Stefan Schantl Reviewed-by: Adolf Belka Tested-by: Adolf Belka --- 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();