andrewchambers / bupstash

Easy and efficient encrypted backups.
https://bupstash.io
MIT License
897 stars 31 forks source link

Fix bad pick index when --ignore-permission-errors is used. #384

Closed andrewchambers closed 1 year ago

falsifian commented 1 year ago

I can confirm this fixes the three errors in my script at https://github.com/andrewchambers/bupstash/issues/357#issuecomment-1520612863. Thanks!

(I built bupstash at master (8bd3548c1) to confirm all three errors still occur, then built it at a438aa2851eb and the three bupstash get commands do what they're supposed to do. As others have said, it also fixes the fully reproducible error at https://github.com/andrewchambers/bupstash/issues/357#issuecomment-1521940808.)