diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-11-26 21:45:50 -0500 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-11-26 21:45:50 -0500 |
commit | 0c3f4a3168501cbfa20556ac71683a96d505076c (patch) | |
tree | 557759fa7921faad5c6023a3a001dbdd6127d798 /pts-core/functions/pts-functions_system_software.php | |
parent | 3d8155e0410235fc06203306ffb5e694c3f76879 (diff) | |
download | phoronix-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.php | 6 |
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) { |