Skip to content

Commit

Permalink
Use non-recursive files() method to test if destination is reachable
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-healy authored and freekmurze committed Apr 8, 2022
1 parent 9c78e7f commit f1559ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BackupDestination/BackupDestination.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function isReachable(): bool
}

try {
$this->disk->allFiles($this->backupName);
$this->disk->files($this->backupName);

return true;
} catch (Exception $exception) {
Expand Down

0 comments on commit f1559ed

Please sign in to comment.