diff --git a/src/client/ThreadBackgroundCommand.cxx b/src/client/ThreadBackgroundCommand.cxx index 32297c306..4cf2c0f40 100644 --- a/src/client/ThreadBackgroundCommand.cxx +++ b/src/client/ThreadBackgroundCommand.cxx @@ -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);