Changeset 29306 for titan/titan


Ignore:
Timestamp:
06/17/14 22:34:46 (10 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/titan.c

    r29302 r29306  
    635635                {
    636636                        printf("error: 1\n");
    637 //                      destroy();
    638 //                      exit(100);
     637                        destroy();
     638                        exit(100);
    639639                }
    640640                if(ostrcmp(string_newline(gettimeinfovar()), TIMECODE) == 1)
    641641                {
    642642                        printf("error: 2\n");           
    643 //                      destroy();
    644 //                      exit(100);
     643                        destroy();
     644                        exit(100);
    645645                }
    646646                if(checkreseller() != 0)
    647647                {
    648648                        printf("error: 3\n");           
    649 //                      destroy();
    650 //                      exit(100);
     649                        destroy();
     650                        exit(100);
    651651                }
    652652                if(getsysinfo() != SYSCODE)
    653653                {
    654654                        printf("error: 4\n");           
    655 //                      destroy();
    656 //                      exit(100);
     655                        destroy();
     656                        exit(100);
    657657                }
    658658                if(file_exist("/mnt/swapextensions/etc/.vnumber") == 1)
    659659                {
    660660                        printf("error: 5\n");           
    661 //                      destroy();
    662 //                      exit(100);
     661                        destroy();
     662                        exit(100);
    663663                }
    664664                if(checkflash() != 0)
    665665                {
    666666                        printf("error: 6\n");           
    667 //                      destroy();
    668 //                      exit(100);
     667                        destroy();
     668                        exit(100);
    669669                }
    670670                if((checkbox("ATEMIO-NEMESIS") == 1 || checkbox("ATEMIO5200") == 1 || checkbox("UFS913") == 1) && checkhighflash() != 0)
    671671                {
    672672                        printf("error: 7\n");           
    673 //                      destroy();
    674 //                      exit(100);
     673                        destroy();
     674                        exit(100);
    675675                }
    676676                if(checkbox("UFS910") == 1 && checklowflash() != 0)
    677677                {
    678678                        printf("error: 8\n");           
    679 //                      destroy();
    680 //                      exit(100);
     679                        destroy();
     680                        exit(100);
    681681                }
    682682       
Note: See TracChangeset for help on using the changeset viewer.