diff options
author | Matthieu Aubry <matt@piwik.org> | 2015-03-20 03:19:37 +0300 |
---|---|---|
committer | Matthieu Aubry <matt@piwik.org> | 2015-03-20 03:19:37 +0300 |
commit | 75a378296ee1561542139640f0ba03e211a50499 (patch) | |
tree | 095353ce2c885e3c4a29e16a32538ee9fba097ed | |
parent | c09f8fdecab000af09312ab81bbd57a60eb363a7 (diff) | |
parent | 9f77768fb25600b4e8ec4a42a23c8eda1dc1a942 (diff) |
Merge pull request #7487 from piwik/7486
Hide error message in case binary is not readable
-rw-r--r-- | core/CliMulti/Process.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/CliMulti/Process.php b/core/CliMulti/Process.php index 118482c854..c63dd5a946 100644 --- a/core/CliMulti/Process.php +++ b/core/CliMulti/Process.php @@ -186,7 +186,7 @@ class Process private static function isSystemNotSupported() { - $uname = @shell_exec('uname -a'); + $uname = @shell_exec('uname -a 2> /dev/null'); if (empty($uname)) { $uname = php_uname(); |