backup: Always print parent snapshot info

This commit is contained in:
Alexander Neumann 2020-11-08 20:15:44 +01:00
parent a5989707ac
commit 823d0afd6e
1 changed files with 6 additions and 2 deletions

View File

@ -532,8 +532,12 @@ func runBackup(opts BackupOptions, gopts GlobalOptions, term *termstatus.Termina
return err
}
if !gopts.JSON && parentSnapshotID != nil {
p.V("using parent snapshot %v\n", parentSnapshotID.Str())
if !gopts.JSON {
if parentSnapshotID != nil {
p.P("using parent snapshot %v\n", parentSnapshotID.Str())
} else {
p.P("no parent snapshot found, will read all files\n")
}
}
selectByNameFilter := func(item string) bool {