git-annex/doc/bugs/assistant_--autostop_stops_after_nonexistant_repo.mdwn
Joey Hess 31e4b6dee1
catch chdir exception in --autostop
assistant --autostop: Avoid crashing when ~/.config/git-annex/autostart
lists a directory that it cannot chdir to.

Sponsored-by: k0ld on Patreon
2023-04-19 12:42:02 -04:00

25 lines
1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### Please describe the problem.
`git annex assistant --autostop` stops shutting down processes after encountering the first non-existant repo listed in `.config/git-annex/autostart`, leaving other processes running.
### What steps will reproduce the problem?
- add several existing repos to `.config/git-annex/autostart`
- somewhere in the middle, add a non-existant path
- run `git annex assistant --autostart` (this just skips the nonexistant repo interestingly)
- run `git annex assistant --autostop` (this fails on the nonexistant repo and doesn't continue with the others)
### What version of git-annex are you using? On what operating system?
```
# on Linux
git annex version
git-annex version: 10.20230329-ge6a337e8e
```
### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
I love it! 🤩
> [[fixed|done]] --[[Joey]]