mirror of
https://github.com/octoleo/restic.git
synced 2024-11-23 05:12:10 +00:00
Print warning for non-existing items
This commit is contained in:
parent
5c75a98053
commit
ea75509d6e
@ -216,6 +216,7 @@ func filterExisting(items []string) (result []string, err error) {
|
||||
for _, item := range items {
|
||||
_, err := fs.Lstat(item)
|
||||
if err != nil && os.IsNotExist(errors.Cause(err)) {
|
||||
Warnf("%v does not exist, skipping\n", item)
|
||||
continue
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user