Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 6766b83

Browse files
author
Oleksii Korshenko
committed
Merge remote-tracking branch 'origin/MAGETWO-67617' into develop-prs
2 parents eaaa397 + 9b0bdce commit 6766b83

File tree

1 file changed

+1
-1
lines changed
  • setup/src/Magento/Setup/Module/I18n/Dictionary/Writer

1 file changed

+1
-1
lines changed

setup/src/Magento/Setup/Module/I18n/Dictionary/Writer/Csv.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function __destructor()
6969
*/
7070
public function __destruct()
7171
{
72-
if (is_resource($this->_fileHandler)) {
72+
if ($this->_fileHandler !== STDOUT && is_resource($this->_fileHandler)) {
7373
fclose($this->_fileHandler);
7474
}
7575
}

0 commit comments

Comments
 (0)