]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Fixed index.cgi nfs mount warning by using posix output.
authorChristian Schmidt <maniacikarus@ipfire.org>
Thu, 20 Jan 2011 19:10:23 +0000 (20:10 +0100)
committerChristian Schmidt <maniacikarus@ipfire.org>
Thu, 20 Jan 2011 19:10:23 +0000 (20:10 +0100)
html/cgi-bin/index.cgi

index 8e623c96afba617949e4ba5753c76a678a3c6fb8..0dcadb0b2223de184030087642135b1a189c7b5c 100644 (file)
@@ -407,7 +407,7 @@ if ($used / $mem > 90) {
 # Diskspace usage warning
 my @temp=();
 my $temp2=();
-my @df = `/bin/df -B M -x rootfs`;
+my @df = `/bin/df -B M -P -x rootfs`;
 foreach my $line (@df) {
        next if $line =~ m/^Filesystem/;
        if ($line =~ m/root/ ) {