Browse Source

Merge pull request #54994 from nextcloud/backport/54919/stable30

pull/54882/head
Kate 3 months ago
committed by GitHub
parent
commit
f9f7bcaf7d
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      core/Command/Info/File.php

2
core/Command/Info/File.php

@ -153,7 +153,7 @@ class File extends Command {
}
$stat = fstat($fh);
fclose($fh);
if ($stat['size'] !== $node->getSize()) {
if (isset($stat['size']) && $stat['size'] !== $node->getSize()) {
$output->writeln(' <error>warning: object had a size of ' . $stat['size'] . ' but cache entry has a size of ' . $node->getSize() . '</error>. This should have been automatically repaired');
}
} catch (\Exception $e) {

Loading…
Cancel
Save