summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
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() {