mirror of
https://github.com/rclone/rclone.git
synced 2025-04-14 00:58:59 +02:00
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…
x
Reference in New Issue
Block a user