]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - html/cgi-bin/memory.cgi
memory.cgi: Fix missing qoutes.
[people/pmueller/ipfire-2.x.git] / 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();