]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - html/cgi-bin/index.cgi
Remove some httpd errorlog entries.
[ipfire-2.x.git] / html / cgi-bin / index.cgi
index 45b0fd74c86f6c3a0c0b358874e24a47b428a7ad..8e623c96afba617949e4ba5753c76a678a3c6fb8 100644 (file)
@@ -431,7 +431,7 @@ foreach my $line (@df) {
 }
 
 # S.M.A.R.T. health warning
-my @files = `/bin/ls /var/run/smartctl_out_hddtemp-*`;
+my @files = `/bin/ls /var/run/smartctl_out_hddtemp-* 2>/dev/null`;
 foreach my $file (@files) {
        chomp ($file);
        my $disk=`echo $file | cut -d"-" -f2`;