forked from TrueCloudLab/rclone
Fix listToChan passing nil objects to DeleteFile
This commit is contained in:
parent
326dcf2470
commit
ebb67c135e
1 changed files with 1 additions and 1 deletions
|
@ -991,7 +991,7 @@ func listToChan(list *Lister) ObjectsChan {
|
||||||
if dir == nil && obj == nil {
|
if dir == nil && obj == nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if o == nil {
|
if obj == nil {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
o <- obj
|
o <- obj
|
||||||
|
|
Loading…
Add table
Reference in a new issue