diff options
author | big biff <bigbiff@teamw.in> | 2018-12-24 16:08:07 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.omnirom.org> | 2018-12-24 16:08:07 +0100 |
commit | 09ee3ea4227fd7046b5b0d54dc83371e218786d1 (patch) | |
tree | 5f2fc1a1e59572d5c66d335eb59bb63aa8f277bf /twrp.cpp | |
parent | Merge "Add option to use ro.serialno for generating device id" into android-9.0 (diff) | |
parent | twrp: use ANDROID_ROOT environment variable (diff) | |
download | android_bootable_recovery-09ee3ea4227fd7046b5b0d54dc83371e218786d1.tar android_bootable_recovery-09ee3ea4227fd7046b5b0d54dc83371e218786d1.tar.gz android_bootable_recovery-09ee3ea4227fd7046b5b0d54dc83371e218786d1.tar.bz2 android_bootable_recovery-09ee3ea4227fd7046b5b0d54dc83371e218786d1.tar.lz android_bootable_recovery-09ee3ea4227fd7046b5b0d54dc83371e218786d1.tar.xz android_bootable_recovery-09ee3ea4227fd7046b5b0d54dc83371e218786d1.tar.zst android_bootable_recovery-09ee3ea4227fd7046b5b0d54dc83371e218786d1.zip |
Diffstat (limited to 'twrp.cpp')
-rw-r--r-- | twrp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -333,7 +333,7 @@ int main(int argc, char **argv) { #ifndef TW_OEM_BUILD // Check if system has never been changed - TWPartition* sys = PartitionManager.Find_Partition_By_Path("/system"); + TWPartition* sys = PartitionManager.Find_Partition_By_Path(PartitionManager.Get_Android_Root_Path()); TWPartition* ven = PartitionManager.Find_Partition_By_Path("/vendor"); if (sys) { |