Skip to content
Snippets Groups Projects
Commit e2d739fa authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #6580 from monreal/master

Silence output of 'which' command used in smbclient detection
parents e4616199 f52a9e5e
No related branches found
No related tags found
No related merge requests found
......@@ -431,7 +431,7 @@ class OC_Mount_Config {
*/
public static function checksmbclient() {
if(function_exists('shell_exec')) {
$output=shell_exec('which smbclient');
$output=shell_exec('which smbclient 2> /dev/null');
return !empty($output);
}else{
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment