From a60a362d8a96fff0cec282da976b9af8c94041cc Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Tue, 11 Mar 2025 15:00:59 +0100 Subject: [PATCH] libstore: correctly move remote connection exception info Change-Id: I264dab54502c178a362593b3c757110588e0548a --- lix/libstore/remote-store-connection.hh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lix/libstore/remote-store-connection.hh b/lix/libstore/remote-store-connection.hh index 38a77d643..74496cbb9 100644 --- a/lix/libstore/remote-store-connection.hh +++ b/lix/libstore/remote-store-connection.hh @@ -109,7 +109,10 @@ struct RemoteStore::ConnectionHandle ConnectionHandle(ConnectionHandle && h) : handle(std::move(h.handle)) - { } + , daemonException(h.daemonException) + { + h.daemonException = false; + } ~ConnectionHandle();