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

client/ThreadBackgroundCommand: fix inverted check

parent ab5eb4f9
...@@ -53,7 +53,7 @@ ThreadBackgroundCommand::DeferredFinish() noexcept ...@@ -53,7 +53,7 @@ ThreadBackgroundCommand::DeferredFinish() noexcept
/* send the response */ /* send the response */
Response response(client, 0); Response response(client, 0);
if (!error) { if (error) {
PrintError(response, std::move(error)); PrintError(response, std::move(error));
} else { } else {
SendResponse(response); 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