From f52a9e5e4249b7e5bc50ec21105e520bd815bb7d Mon Sep 17 00:00:00 2001 From: Michael Monreal Date: Fri, 27 Dec 2013 18:10:47 +0100 Subject: [PATCH] Silence output of 'which' command used in smbclient detection --- apps/files_external/lib/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5