mirror of https://github.com/hak5/openwrt-owl.git
parent
01e335a5ba
commit
c80b7033d5
|
@ -360,7 +360,7 @@ int main (int argc, char **argv)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (system("grep Broadcom /proc/cpuinfo >&- >&-") != 0) {
|
if (system("grep Broadcom /proc/cpuinfo >&- >&-") == 0) {
|
||||||
/* check trx file before erasing or writing anything */
|
/* check trx file before erasing or writing anything */
|
||||||
if (!trx_check(imagefd, device)) {
|
if (!trx_check(imagefd, device)) {
|
||||||
fprintf(stderr, "TRX check failed!\n");
|
fprintf(stderr, "TRX check failed!\n");
|
||||||
|
|
Loading…
Reference in New Issue