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