mirror of
https://github.com/gilbertchen/duplicacy
synced 2025-12-10 13:23:17 +00:00
readCloser may be nil if the file to be searched doesn't exist
This commit is contained in:
@@ -335,7 +335,9 @@ func (client *B2Client) ListFileNames(startFileName string, singleFile bool, inc
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if readCloser != nil {
|
||||||
defer readCloser.Close()
|
defer readCloser.Close()
|
||||||
|
}
|
||||||
|
|
||||||
output := B2ListFileNamesOutput{}
|
output := B2ListFileNamesOutput{}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user