Skip to content
Snippets Groups Projects
Commit f52a9e5e authored by Michael Monreal's avatar Michael Monreal
Browse files

Silence output of 'which' command used in smbclient detection

parent 64a001ed
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