Do not ignore error returned from lock.Unlock()

This commit is contained in:
Marius 2016-09-27 21:51:33 +02:00
parent 8fff2b7d69
commit 055406a783
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ func (store FileStore) UnlockUpload(id string) error {
err = nil
}
return nil
return err
}
// newLock contructs a new Lockfile instance.