Commit 17dd334b authored by Max Kellermann's avatar Max Kellermann

client/ThreadBackgroundCommand: fix inverted check

parent ab5eb4f9
......@@ -53,7 +53,7 @@ ThreadBackgroundCommand::DeferredFinish() noexcept
/* send the response */
Response response(client, 0);
if (!error) {
if (error) {
PrintError(response, std::move(error));
} else {
SendResponse(response);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment