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 */
Response response(client, 0);
if (!error) {
if (error) {
PrintError(response, std::move(error));
} else {
SendResponse(response);