diff --git a/mount/index.cgi b/mount/index.cgi index f8d6a4f58..4077407bf 100755 --- a/mount/index.cgi +++ b/mount/index.cgi @@ -84,7 +84,7 @@ if (@visible) { if ($config{'show_used'}) { # Add disk space used column ($total, $free) = &disk_space($minfo[2],$minfo[0]); - if ($total) { + if ($total && $total > $free) { $pc = int(100*($total-$free) / $total); push(@cols, $pc >= 99 ? "$pc %" :