]> git.zerfleddert.de Git - rsbs2/blobdiff - firmware.c
don't continue with wrong checksum...
[rsbs2] / firmware.c
index 40c2b56c32e7d794f3654f9e39be5ff677bc44f6..6ef5971461c7773eb7655e7b5cf9353f180a2f7f 100644 (file)
@@ -423,6 +423,7 @@ int main(int argc, char **argv)
        ret = check_crc(fw, statbuf.st_size);
        if ((ret != 0) && (!update_crc)) {
                fprintf(stderr,"Checksum incorrect, aborting...\n");
+               exit(1);
        }
 
        if (patch_fw) {
Impressum, Datenschutz