Browse Source

Merge pull request #6580 from monreal/master

Silence output of 'which' command used in smbclient detection
remotes/origin/ldap_group_count
Thomas Müller 13 years ago
parent
commit
e2d739fa21
  1. 2
      apps/files_external/lib/config.php

2
apps/files_external/lib/config.php

@ -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;

Loading…
Cancel
Save