diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-19T00·25+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-19T00·25+0200 |
commit | ee3c5d7916b48d0c3b1cc08044e27209c14acfdc (patch) | |
tree | eb6d72a7f7abf285ff13d9cb732a71a7c39f18e5 /src/nix-daemon/nix-daemon.cc | |
parent | 2e77bd70faee34cb2518529318a54b39f2d9143e (diff) |
Revert old useBuildHook behaviour
Diffstat (limited to 'src/nix-daemon/nix-daemon.cc')
-rw-r--r-- | src/nix-daemon/nix-daemon.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-daemon/nix-daemon.cc b/src/nix-daemon/nix-daemon.cc index dde501d30990..f2141ee536ff 100644 --- a/src/nix-daemon/nix-daemon.cc +++ b/src/nix-daemon/nix-daemon.cc @@ -552,7 +552,7 @@ static void performOp(bool trusted, unsigned int clientVersion, settings.set("build-max-jobs", int2String(readInt(from))); settings.set("build-max-silent-time", int2String(readInt(from))); if (GET_PROTOCOL_MINOR(clientVersion) >= 2) - if (readInt(from) != 0) settings.useBuildHook = true; + settings.useBuildHook = readInt(from) != 0; if (GET_PROTOCOL_MINOR(clientVersion) >= 4) { settings.buildVerbosity = (Verbosity) readInt(from); logType = (LogType) readInt(from); |