drive: fix crash on failed to update remote mtime - fixes #36
This commit is contained in:
parent
46d39ebaf7
commit
c03d6a1ec3
1 changed files with 1 additions and 0 deletions
|
@ -900,6 +900,7 @@ func (o *FsObjectDrive) SetModTime(modTime time.Time) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fs.Stats.Error()
|
fs.Stats.Error()
|
||||||
fs.Log(o, "Failed to update remote mtime: %s", err)
|
fs.Log(o, "Failed to update remote mtime: %s", err)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
// Update info from read data
|
// Update info from read data
|
||||||
o.setMetaData(info)
|
o.setMetaData(info)
|
||||||
|
|
Loading…
Reference in a new issue