mirror of
https://github.com/restic/restic.git
synced 2024-12-22 15:57:07 +00:00
Merge pull request #1019 from restic/fix-1017
ls: Print names with percent correctly
This commit is contained in:
commit
539674614b
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ func printTree(repo *repository.Repository, id *restic.ID, prefix string) error
|
|||
}
|
||||
|
||||
for _, entry := range tree.Nodes {
|
||||
Printf(formatNode(prefix, entry, lsOptions.ListLong) + "\n")
|
||||
Printf("%s\n", formatNode(prefix, entry, lsOptions.ListLong))
|
||||
|
||||
if entry.Type == "dir" && entry.Subtree != nil {
|
||||
if err = printTree(repo, entry.Subtree, filepath.Join(prefix, entry.Name)); err != nil {
|
||||
|
|
Loading…
Reference in a new issue