diff options
author | mattab <matthieu.aubry@gmail.com> | 2015-03-20 00:29:11 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2015-03-20 00:29:11 +0300 |
commit | 9f77768fb25600b4e8ec4a42a23c8eda1dc1a942 (patch) | |
tree | 4faa9a75d97f16a49b1a5a09993e104c4c0aa202 | |
parent | aead5ce7f2ab61c786799a411cdc69120fe4550e (diff) |
Hide error message in case binary is not readable
fixes #7486
-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(); |