Reviewed-by: Adolf Belka adolf.belka@ipfire.org
Tested-by: Adolf Belka adolf.belka@ipfire.org
On 19/06/2021 15:52, Stefan Schantl wrote:
Signed-off-by: Stefan Schantl stefan.schantl@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();