mirror of https://github.com/rclone/rclone.git
Fix listToChan passing nil objects to DeleteFile
This commit is contained in:
parent
326dcf2470
commit
ebb67c135e
|
@ -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…
Reference in New Issue