wrt-radauth needs libnvram and libshared and will only build on mipsel/2.4 atm
[openwrt.git] / openwrt / package / mtd / mtd.c
index 45f1308..06d765c 100644 (file)
@@ -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 */
                        if (!trx_check(imagefd, device)) {
                                fprintf(stderr, "TRX check failed!\n");
This page took 0.024537 seconds and 4 git commands to generate.