client/ThreadBackgroundCommand: fix inverted check
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user