From e389f4ea555da67c4f0f254fd223d7b4d86e0eec Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 31 Oct 2014 09:36:09 +0100 Subject: Improve error message if the daemon worker fails to start --- src/nix-daemon/nix-daemon.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nix-daemon') diff --git a/src/nix-daemon/nix-daemon.cc b/src/nix-daemon/nix-daemon.cc index 8ec54e4580dc..09064fd693aa 100644 --- a/src/nix-daemon/nix-daemon.cc +++ b/src/nix-daemon/nix-daemon.cc @@ -565,7 +565,7 @@ static void processConnection(bool trusted) to.flush(); } catch (Error & e) { - stopWork(false, e.msg()); + stopWork(false, e.msg(), GET_PROTOCOL_MINOR(clientVersion) >= 8 ? 1 : 0); to.flush(); return; } -- cgit 1.4.1