mirror of
https://github.com/rclone/rclone.git
synced 2025-08-18 09:30:03 +02:00
Fix listToChan passing nil objects to DeleteFile
This commit is contained in:
@@ -991,7 +991,7 @@ func listToChan(list *Lister) ObjectsChan {
|
||||
if dir == nil && obj == nil {
|
||||
return
|
||||
}
|
||||
if o == nil {
|
||||
if obj == nil {
|
||||
continue
|
||||
}
|
||||
o <- obj
|
||||
|
Reference in New Issue
Block a user