Merge pull request #6946 from rickynils/fix_serve_protocol_version_check

Fix a misplaced parenthese in serve protocol check
This commit is contained in:
Eelco Dolstra 2022-08-24 13:09:50 +02:00 committed by GitHub
commit 6528c11024
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -922,7 +922,7 @@ static void opServe(Strings opFlags, Strings opArgs)
if (GET_PROTOCOL_MINOR(clientVersion) >= 3)
out << status.timesBuilt << status.isNonDeterministic << status.startTime << status.stopTime;
if (GET_PROTOCOL_MINOR(clientVersion >= 6)) {
if (GET_PROTOCOL_MINOR(clientVersion) >= 6) {
worker_proto::write(*store, out, status.builtOutputs);
}