Repository navigation
borg list: error on non-existent path
#8273
Closed
WilliamDEdwards
started this conversation in
Ideas
Replies: 4 comments 4 replies
|
What borg version(s)? borg list REPO? |
1 reply
|
Here's what I did in my Python library to work around this: CyberfusionIO/python3-cyberfusion-borg-support@7b0c0d3 |
0 replies
|
Can you add a short reproducer / demo script to your top post that shows the problem? |
1 reply
|
IMHO, that's not a bug. If a path pattern matches N pathes and borg output N pathes, it works correctly, including N == 0. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
When listing archive contents with
borg list, and specifying a non-existent path, the command exits with RC 0. I would expect an error to be raised.MRE:
TBF: whether a path doesn't exist is easy to detect, because Borg simply returns no contents at all. While for an empty path, the path itself is returned.
All reactions