mirror of https://github.com/borgbackup/borg.git
Merge pull request #6152 from ThomasWaldmann/info-0-archives-master
info: emit repo info even if repo has 0 archives, fixes #6120
This commit is contained in:
commit
8e8bc6f5c1
|
@ -1391,8 +1391,6 @@ class Archiver:
|
||||||
else:
|
else:
|
||||||
args.consider_checkpoints = True
|
args.consider_checkpoints = True
|
||||||
archive_names = tuple(x.name for x in manifest.archives.list_considering(args))
|
archive_names = tuple(x.name for x in manifest.archives.list_considering(args))
|
||||||
if not archive_names:
|
|
||||||
return self.exit_code
|
|
||||||
|
|
||||||
output_data = []
|
output_data = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue