diff options
Diffstat (limited to 'apexd/apexd_main.cpp')
-rw-r--r-- | apexd/apexd_main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apexd/apexd_main.cpp b/apexd/apexd_main.cpp index c60f4fa..d460150 100644 --- a/apexd/apexd_main.cpp +++ b/apexd/apexd_main.cpp @@ -133,7 +133,10 @@ int main(int /*argc*/, char** argv) { bool booting = android::apex::isBooting(); if (booting) { - android::apex::migrateSessionsDirIfNeeded(); + if (auto res = android::apex::migrateSessionsDirIfNeeded(); !res.ok()) { + LOG(ERROR) << "Failed to migrate sessions to /metadata partition : " + << res.error(); + } android::apex::onStart(); } android::apex::binder::CreateAndRegisterService(); |