This commit is contained in:
Jörn Friedrich Dreyer 2015-04-09 15:37:00 +02:00
parent b9eaa386c4
commit 8af52e3876

View file

@ -762,7 +762,9 @@ class View {
if (is_resource($dh)) {
while (($file = readdir($dh)) !== false) {
if (!Filesystem::isIgnoredDir($file)) {
$result = $this->copy($path1 . '/' . $file, $path2 . '/' . $file, $preserveMtime);
if (!$this->copy($path1 . '/' . $file, $path2 . '/' . $file, $preserveMtime)) {
$result = false;
}
}
}
}