fix flashing, which was breaking

This commit is contained in:
Arif Ali 2011-11-16 23:48:50 +00:00
parent 63fb0eedbd
commit 070dafc6fe

View File

@ -84,8 +84,8 @@ int main(int argc, char **argv) {
LOGW("error reading %s: %s\n", argv[1], strerror(errno));
// just assume it needs re-writing
} else if (checklen == headerlen && !memcmp(header, check, headerlen)) {
LOGI("header is the same, not flashing %s\n", argv[1]);
return 0;
LOGI("header is the same, flashing %s anyway\n", argv[1]);
//return 0;
}
mtd_read_close(in);
}