Changeset 2

Show
Ignore:
Timestamp:
05/24/06 11:35:00 (3 years ago)
Author:
kris
Message:

Added Checks for Tar Errors

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pcbsd/trunk/PCBSDInstall/pcbsdwizard.ui.h

    r1 r2  
    918918void PCBSDWizard::TarFinishedSlot() 
    919919{ 
     920     
     921    if ( ! TarProc->normalExit() || TarProc->exitStatus() != 0 ) 
     922    { 
     923            QMessageBox::critical( 0, "Install Error!", 
     924        "An error occured while extracting the system image! Please check the install CD, or try selecting 'Safe Mode' when the installation CD begins booting. The system will now reboot." ); 
     925            done(1); 
     926     } else { 
     927     
    920928    ExtractLabel->setText(tr("Complete! Click next to continue.")); 
    921929    setNextEnabled(currentPage(),TRUE); 
    922930    next(); 
     931     
     932    } 
    923933 
    924934}