summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_system_software.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-11-26 21:45:50 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-11-26 21:45:50 -0500
commit0c3f4a3168501cbfa20556ac71683a96d505076c (patch)
tree557759fa7921faad5c6023a3a001dbdd6127d798 /pts-core/functions/pts-functions_system_software.php
parent3d8155e0410235fc06203306ffb5e694c3f76879 (diff)
downloadphoronix-test-suite-upstream-0c3f4a3168501cbfa20556ac71683a96d505076c.tar.gz
phoronix-test-suite-upstream-0c3f4a3168501cbfa20556ac71683a96d505076c.tar.xz
phoronix-test-suite-upstream-0c3f4a3168501cbfa20556ac71683a96d505076c.zip
pts_Graph: Various changes to the graphing object
Diffstat (limited to 'pts-core/functions/pts-functions_system_software.php')
-rw-r--r--pts-core/functions/pts-functions_system_software.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/pts-core/functions/pts-functions_system_software.php b/pts-core/functions/pts-functions_system_software.php
index 414ca9d..68b7a7d 100644
--- a/pts-core/functions/pts-functions_system_software.php
+++ b/pts-core/functions/pts-functions_system_software.php
@@ -67,12 +67,14 @@ function sw_os_virtualized_mode()
function sw_os_filesystem()
{
// Determine file-system type
- $fs = shell_exec("stat " . TEST_ENV_DIR . " -L -f -c %T 2> /dev/null");
-
if(IS_MACOSX)
{
$fs = read_osx_system_profiler("SPSerialATADataType", "FileSystem");
}
+ else
+ {
+ $fs = shell_exec("stat " . TEST_ENV_DIR . " -L -f -c %T 2> /dev/null");
+ }
if(empty($fs) || IS_BSD)
{