mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-12 20:16:49 +02:00
Fixed index.cgi nfs mount warning by using posix output.
This commit is contained in:
@@ -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/ ) {
|
||||
|
||||
Reference in New Issue
Block a user