Files
restic/changelog/unreleased/issue-22051
T
JUSHUANGHUI LI d7aa4145e0 global: reject empty repository location files (#22052)
Return a fatal error before opening or creating a repository when its location file is empty after decoding and trimming whitespace.
2026-11-15 19:03:50 +00:00

9 lines
328 B
Plaintext

Bugfix: Reject empty repository location files
An empty file passed via `--repository-file` or `RESTIC_REPOSITORY_FILE`
was treated as the current directory. Restic now reports an error if the
file is empty or contains only whitespace.
https://github.com/restic/restic/issues/22051
https://github.com/restic/restic/pull/22052