incr-check: actually handle end message for a compiler update

This commit is contained in:
Jakub Konka 2024-09-25 16:32:23 +02:00
parent 1c2048ebcc
commit 1714b74edf

View file

@ -266,7 +266,6 @@ const Eval = struct {
try eval.checkSuccessOutcome(update, null, prog_node); try eval.checkSuccessOutcome(update, null, prog_node);
// This message indicates the end of the update. // This message indicates the end of the update.
stdout.discard(body.len); stdout.discard(body.len);
return;
} }
const digest = body[@sizeOf(EbpHdr)..][0..Cache.bin_digest_len]; const digest = body[@sizeOf(EbpHdr)..][0..Cache.bin_digest_len];
@ -290,7 +289,6 @@ const Eval = struct {
try eval.checkSuccessOutcome(update, bin_path, prog_node); try eval.checkSuccessOutcome(update, bin_path, prog_node);
// This message indicates the end of the update. // This message indicates the end of the update.
stdout.discard(body.len); stdout.discard(body.len);
return;
}, },
else => { else => {
// Ignore other messages. // Ignore other messages.