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,10 +299,7 @@ NfsConnection::OnSocketReady(unsigned flags)
|
||||
DestroyContext();
|
||||
closed = true;
|
||||
|
||||
if (!mount_finished)
|
||||
BroadcastMountError(std::move(error));
|
||||
else
|
||||
BroadcastError(std::move(error));
|
||||
BroadcastError(std::move(error));
|
||||
}
|
||||
|
||||
assert(in_event);
|
||||
|
Loading…
Reference in New Issue
Block a user