mirror of
https://github.com/restic/restic.git
synced 2026-11-21 21:12:42 +00:00
Return a fatal error before opening or creating a repository when its location file is empty after decoding and trimming whitespace.
9 lines
328 B
Plaintext
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
|