mountlib: restore daemon mode after #5415

This commit is contained in:
Ivan Andreev
2021-07-26 13:44:02 +03:00
parent 63a24255f8
commit 55e766f4e8
2 changed files with 11 additions and 11 deletions

View File

@@ -270,7 +270,7 @@ func (vol *Volume) mount(id string) error {
return errors.New("volume filesystem is not ready")
}
if err := vol.mnt.Mount(); err != nil {
if _, err := vol.mnt.Mount(); err != nil {
return err
}
vol.mnt.MountedOn = time.Now()