mirror of
https://github.com/rclone/rclone.git
synced 2024-11-07 17:14:44 +01: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 {
|
||||
return
|
||||
}
|
||||
if o == nil {
|
||||
if obj == nil {
|
||||
continue
|
||||
}
|
||||
o <- obj
|
||||
|
Loading…
Reference in New Issue
Block a user