Fix bootloop for some devices with two /data

Close #654
This commit is contained in:
topjohnwu 2018-10-12 00:54:55 -04:00
parent acf7c0c665
commit d5a56d9e85

View File

@ -56,9 +56,8 @@ int check_data() {
char *line;
int mnt = 0;
vec_for_each(&v, line) {
if (strstr(line, " /data ")) {
if (strstr(line, "tmpfs") == NULL)
mnt = 1;
if (strstr(line, " /data ") && strstr(line, "tmpfs") == NULL) {
mnt = 1;
break;
}
}