- BUG 1: Add error checking after tar extraction for both LOCAL and REMOTE-CACHE branches - Check exit status of tar -I zstd -xf commands - Print error to stderr and exit non-zero on failure - Prevents silent truncation where corrupt/incomplete backup extracts partial data - Mirrors existing remote-STREAM branch error handling - BUG 2: Fix REMOTE branch to resume incomplete aria2c downloads - Check for presence of <file>.aria2 control file as incomplete signal - aria2c -c continues/resumes download when .aria2 file exists - Only skip download when file exists AND no .aria2 control file remains - aria2 deletes .aria2 sidecar on successful completion, making it a reliable signal - Maintain all existing flags: aria2c -c -Z -x8 -j8 -s8 -d - Preserve reth guard logic and static-file offload behavior unchanged Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
5.7 KiB
Executable File
5.7 KiB
Executable File