diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/first_stage_mount.cpp | 2 |
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 | ||
118 | static bool inline IsRecoveryMode() { | 118 | static bool inline IsRecoveryMode() { |
119 | return access("/sbin/recovery", F_OK) == 0; | 119 | return access("/system/bin/recovery", F_OK) == 0; |
120 | } | 120 | } |
121 | 121 | ||
122 | static inline bool IsDmLinearEnabled() { | 122 | static inline bool IsDmLinearEnabled() { |