nfs/Connection: use only BroadcastError()
Since BroadcastError() calls BroadcastMountError(), there's no need to check mount_finished here.
This commit is contained in:
parent
559a01f585
commit
6d643f92b7
@ -299,9 +299,6 @@ NfsConnection::OnSocketReady(unsigned flags)
|
|||||||
DestroyContext();
|
DestroyContext();
|
||||||
closed = true;
|
closed = true;
|
||||||
|
|
||||||
if (!mount_finished)
|
|
||||||
BroadcastMountError(std::move(error));
|
|
||||||
else
|
|
||||||
BroadcastError(std::move(error));
|
BroadcastError(std::move(error));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user