Fix detection of TWRP app in /data
Change-Id: Icab9db0ceb63edba021cc190eea2ebbc87cf3442
diff --git a/gui/action.cpp b/gui/action.cpp
index ef110bc..fef4762 100644
--- a/gui/action.cpp
+++ b/gui/action.cpp
@@ -1914,7 +1914,8 @@
DataManager::SetValue("tw_app_install_status", 2); // 0 = no status, 1 = not installed, 2 = already installed
goto exit;
}
- } else if (PartitionManager.Mount_By_Path("/data", false)) {
+ }
+ if (PartitionManager.Mount_By_Path("/data", false)) {
string parent_path = "/data/app";
DIR *d = opendir("/data/app");
struct dirent *p;