]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
memory.cgi: Fix missing qoutes.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 19 Jun 2021 13:52:34 +0000 (15:52 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 20 Jun 2021 12:37:29 +0000 (12:37 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/memory.cgi

index dea7e36685f85116077be65406464e7074800be5..441b1d4e79cc0be6c2be871f8cafd00cd9fb96d7 100644 (file)
@@ -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();