diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-06-24 19:10:18 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-03 11:49:17 -0400 |
commit | 7eb5e4aef9ff151ebcce8aeefc798be70f7344ab (patch) | |
tree | 65e89f852a3de4b261307a3be2e0a2213b94fb1c /pts-core/modules/system_monitor.php | |
parent | 92ec3e5e6877eecfadd130b491f2ee45b7cf898b (diff) | |
download | phoronix-test-suite-upstream-7eb5e4aef9ff151ebcce8aeefc798be70f7344ab.tar.gz phoronix-test-suite-upstream-7eb5e4aef9ff151ebcce8aeefc798be70f7344ab.tar.xz phoronix-test-suite-upstream-7eb5e4aef9ff151ebcce8aeefc798be70f7344ab.zip |
Allow 0 percent usage monitoring...
Diffstat (limited to 'pts-core/modules/system_monitor.php')
-rw-r--r-- | pts-core/modules/system_monitor.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/modules/system_monitor.php b/pts-core/modules/system_monitor.php index c6c1037..2c32ea1 100644 --- a/pts-core/modules/system_monitor.php +++ b/pts-core/modules/system_monitor.php @@ -320,7 +320,7 @@ class system_monitor extends pts_module_interface foreach($m_array[$i] as $temp) { - if($temp < $low || $low == 0) + if($temp < $low || ($low == 0 && $type[$i] <> "Usage")) $low = $temp; else if($temp > $high) $high = $temp; |