Silence output of 'which' command used in smbclient detection
This commit is contained in:
parent
64a001edab
commit
f52a9e5e42
|
@ -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…
Reference in New Issue