client/ThreadBackgroundCommand: fix inverted check

This commit is contained in:
Max Kellermann 2019-04-05 14:23:29 +02:00
parent ab5eb4f9ce
commit 17dd334b82
1 changed files with 1 additions and 1 deletions

View File

@ -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);