Commit 6d643f92 authored by Max Kellermann's avatar Max Kellermann

nfs/Connection: use only BroadcastError()

Since BroadcastError() calls BroadcastMountError(), there's no need to check mount_finished here.
parent 559a01f5
...@@ -299,9 +299,6 @@ NfsConnection::OnSocketReady(unsigned flags) ...@@ -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));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment