summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorTreehugger Robot2018-07-27 15:25:53 -0500
committerGerrit Code Review2018-07-27 15:25:53 -0500
commit0937a84521ca72ccb1972110a1935e6de0f7395f (patch)
treea3e7c5f739bd3e02ed006911b81efe187024f1ee /init
parentc1dabd8f76ba5065aa960c5d7218da66140c543c (diff)
parent5de2be5cd597bc6536f972aa85153f21f2512095 (diff)
downloadplatform-system-core-0937a84521ca72ccb1972110a1935e6de0f7395f.tar.gz
platform-system-core-0937a84521ca72ccb1972110a1935e6de0f7395f.tar.xz
platform-system-core-0937a84521ca72ccb1972110a1935e6de0f7395f.zip
Merge "Move recovery to /system/bin"
Diffstat (limited to 'init')
-rw-r--r--init/first_stage_mount.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/first_stage_mount.cpp b/init/first_stage_mount.cpp
index 8ded87373..43075b268 100644
--- a/init/first_stage_mount.cpp
+++ b/init/first_stage_mount.cpp
@@ -116,7 +116,7 @@ static inline bool IsDtVbmetaCompatible() {
116} 116}
117 117
118static bool inline IsRecoveryMode() { 118static bool inline IsRecoveryMode() {
119 return access("/sbin/recovery", F_OK) == 0; 119 return access("/system/bin/recovery", F_OK) == 0;
120} 120}
121 121
122static inline bool IsDmLinearEnabled() { 122static inline bool IsDmLinearEnabled() {