Index: src/platform/update_engine/omaha_response_handler_action.cc |
diff --git a/src/platform/update_engine/omaha_response_handler_action.cc b/src/platform/update_engine/omaha_response_handler_action.cc |
index 0a8472ea22aa9a10f9991fb167fdb25b7f4e355e..0a0a66098295b23a7c1800f1d2800ec5efc0b781 100644 |
--- a/src/platform/update_engine/omaha_response_handler_action.cc |
+++ b/src/platform/update_engine/omaha_response_handler_action.cc |
@@ -22,6 +22,7 @@ void OmahaResponseHandlerAction::PerformAction() { |
ScopedActionCompleter completer(processor_, this); |
const UpdateCheckResponse& response = GetInputObject(); |
if (!response.update_exists) { |
+ got_no_update_response_ = true; |
LOG(INFO) << "There are no updates. Aborting."; |
return; |
} |
@@ -47,7 +48,8 @@ void OmahaResponseHandlerAction::PerformAction() { |
filename.resize(255); |
} |
// TODO(adlr): come up with a better place to download to: |
- install_plan.download_path = utils::kStatefulPartition + "/" + filename; |
+ install_plan.download_path = string(utils::kStatefulPartition) + "/" + |
+ filename; |
if (HasOutputPipe()) |
SetOutputObject(install_plan); |
LOG(INFO) << "Using this install plan:"; |