Fail fast for invalid RESTIC_PACK_SIZE env values (#5592)

Co-authored-by: Michael Eischer <michael.eischer@fau.de>
This commit is contained in:
gunarandMichael Eischer authored and GitHub committed 2026-02-01 15:45:31 +01:00
1 parent 8bff5cead0
commit 7101f11133
4 files changed
+68 -5

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
Bugfix: Return error if `RESTIC_PACK_SIZE` contains invalid value
If the environment variable `RESTIC_PACK_SIZE` could not be parsed, then
restic ignored its value. Now, the restic commands fail with an error, unless
the command-line option `--pack-size` was specified.
https://github.com/restic/restic/pull/5592