Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(586)

Unified Diff: update_attempter.cc

Issue 3404015: AU: move AU completed marker from /tmp to /var/run since /var/run is root-only. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | update_attempter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: update_attempter.cc
diff --git a/update_attempter.cc b/update_attempter.cc
index a1568a923d266cd64bae69e890351eec93616568..73b93b8b7829b2dc400fe049bd73235c5c2e0f99 100644
--- a/update_attempter.cc
+++ b/update_attempter.cc
@@ -36,7 +36,8 @@ using std::vector;
namespace chromeos_update_engine {
-const char* kUpdateCompletedMarker = "/tmp/update_engine_autoupdate_completed";
+const char* kUpdateCompletedMarker =
+ "/var/run/update_engine_autoupdate_completed";
const char* UpdateStatusToString(UpdateStatus status) {
switch (status) {
« no previous file with comments | « no previous file | update_attempter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698