From cffa2fa247dd28a4fd92ede3c6b785637d875fd1 Mon Sep 17 00:00:00 2001
From: Marius Burkard <m.burkard@pixcept.de>
Date: Thu, 04 Feb 2016 11:37:41 -0500
Subject: [PATCH] - redirect md5sum STDERR to /dev/null (Fixes #3383)

---
 install/update.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/install/update.php b/install/update.php
index 04c5289..504a637 100644
--- a/install/update.php
+++ b/install/update.php
@@ -545,7 +545,7 @@
 
 //* Create md5 filelist
 $md5_filename = '/usr/local/ispconfig/security/data/file_checksums_'.date('Y-m-d_h-i').'.md5';
-exec('find /usr/local/ispconfig -type f -print0 | xargs -0 md5sum > '.$md5_filename);
+exec('find /usr/local/ispconfig -type f -print0 | xargs -0 md5sum > '.$md5_filename . ' 2>/dev/null');
 chmod($md5_filename,0700);
 
 echo "Update finished.\n";

--
Gitblit v1.9.1