Fixed index.cgi nfs mount warning by using posix output.

This commit is contained in:
Christian Schmidt
2011-01-20 20:10:23 +01:00
parent 8dbba0e460
commit 8955b5a746

View 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/ ) {