Skip to content

Commit cffa2fa

Browse files
author
Marius Burkard
committed
- redirect md5sum STDERR to /dev/null (Fixes #3383)
1 parent c7654c4 commit cffa2fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/update.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@
545545

546546
//* Create md5 filelist
547547
$md5_filename = '/usr/local/ispconfig/security/data/file_checksums_'.date('Y-m-d_h-i').'.md5';
548-
exec('find /usr/local/ispconfig -type f -print0 | xargs -0 md5sum > '.$md5_filename);
548+
exec('find /usr/local/ispconfig -type f -print0 | xargs -0 md5sum > '.$md5_filename . ' 2>/dev/null');
549549
chmod($md5_filename,0700);
550550

551551
echo "Update finished.\n";

0 commit comments

Comments
 (0)