client/ThreadBackgroundCommand: fix inverted check
This commit is contained in:
parent
ab5eb4f9ce
commit
17dd334b82
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue