summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_system_graphics.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-10-30 21:22:39 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-10-30 21:22:39 -0400
commit8b5e5b64e97f78f4aee61fe9b6c52e4a285a5169 (patch)
treef379b2e2be5696ca92365c8e99ad86ce1f2c75db /pts-core/functions/pts-functions_system_graphics.php
parente65d11cc04e05a81f2cb60a296ef4367bd307a93 (diff)
downloadphoronix-test-suite-upstream-8b5e5b64e97f78f4aee61fe9b6c52e4a285a5169.tar.gz
phoronix-test-suite-upstream-8b5e5b64e97f78f4aee61fe9b6c52e4a285a5169.tar.xz
phoronix-test-suite-upstream-8b5e5b64e97f78f4aee61fe9b6c52e4a285a5169.zip
pts-core: Suppress Xorg.0.log no such file or directory
Diffstat (limited to 'pts-core/functions/pts-functions_system_graphics.php')
-rw-r--r--pts-core/functions/pts-functions_system_graphics.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/functions/pts-functions_system_graphics.php b/pts-core/functions/pts-functions_system_graphics.php
index da18fb6..b9987bb 100644
--- a/pts-core/functions/pts-functions_system_graphics.php
+++ b/pts-core/functions/pts-functions_system_graphics.php
@@ -763,7 +763,7 @@ function graphics_processor_string()
if(empty($info) || strpos($info, "Mesa ") !== false || $info == "Software Rasterizer")
{
- $log_parse = shell_exec("cat /var/log/Xorg.0.log | grep Chipset");
+ $log_parse = shell_exec("cat /var/log/Xorg.0.log 2>&1 | grep Chipset");
$log_parse = substr($log_parse, strpos($log_parse, "Chipset") + 8);
$log_parse = substr($log_parse, 0, strpos($log_parse, "found"));