Merge "remount: On initial overlay setup, return 0 instead of MUST_REBOOT"

This commit is contained in:
Treehugger Robot 2022-08-11 17:30:35 +00:00 committed by Gerrit Code Review
commit 60dd4690b3

View file

@ -128,7 +128,6 @@ enum RemountStatus {
BAD_OVERLAY,
NO_MOUNTS,
REMOUNT_FAILED,
MUST_REBOOT,
BINDER_ERROR,
CHECKPOINTING,
GSID_ERROR,
@ -581,7 +580,7 @@ int main(int argc, char* argv[]) {
} else {
LOG(INFO) << "Now reboot your device for settings to take effect";
}
return MUST_REBOOT;
return REMOUNT_SUCCESS;
}
if (result == REMOUNT_SUCCESS) {
printf("remount succeeded\n");