aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/nfs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/nfs/Connection.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/nfs/Connection.cxx b/src/lib/nfs/Connection.cxx
index 9bcb241c2..64458fec6 100644
--- a/src/lib/nfs/Connection.cxx
+++ b/src/lib/nfs/Connection.cxx
@@ -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);