drive: fix crash on failed to update remote mtime - fixes #36

This commit is contained in:
Nick Craig-Wood 2015-03-02 09:25:33 +00:00
parent 46d39ebaf7
commit c03d6a1ec3
1 changed files with 1 additions and 0 deletions

View File

@ -900,6 +900,7 @@ func (o *FsObjectDrive) SetModTime(modTime time.Time) {
if err != nil {
fs.Stats.Error()
fs.Log(o, "Failed to update remote mtime: %s", err)
return
}
// Update info from read data
o.setMetaData(info)