Commit d5a56d9e authored by topjohnwu's avatar topjohnwu

Fix bootloop for some devices with two /data

Close #654
parent acf7c0c6
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment