summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMichael Monreal <michael.monreal@gmail.com>2013-12-27 18:10:47 +0100
committerMichael Monreal <michael.monreal@gmail.com>2013-12-27 18:10:47 +0100
commitf52a9e5e4249b7e5bc50ec21105e520bd815bb7d (patch)
treecb0447cf1ebd5d52f06b86fe050562f315784165 /apps
parent64a001edab25d727f82fe7b1d15146dadd6fb877 (diff)
downloadnextcloud-server-f52a9e5e4249b7e5bc50ec21105e520bd815bb7d.tar.gz
nextcloud-server-f52a9e5e4249b7e5bc50ec21105e520bd815bb7d.zip
Silence output of 'which' command used in smbclient detection
Diffstat (limited to 'apps')
-rwxr-xr-xapps/files_external/lib/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index 12836c7b88c..122cc57debc 100755
--- a/apps/files_external/lib/config.php
+++ b/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;