Changeset 5373f62


Ignore:
Timestamp:
05/08/15 09:22:43 (2 weeks ago)
Author:
Ken Moore <ken@…>
Branches:
master
Children:
34adc01
Parents:
411a159
Message:

Add a check for the new encryption key file to double-check that an ISCSI replication was finished being setup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt5/life-preserver/lp-gui/LPISCSIWizard.cpp

    rac94691 r5373f62  
    117117  cmd.clear(); //make sure to clear this ASAP so that the password (if any) gets cleared 
    118118  //Now parse the results 
    119     if(success){ 
     119  QString keyfile = log.section("\nKey: ",1,1).section("\n",0,0).simplified(); 
     120  if(!QFile::exists(keyfile)){ keyfile.clear(); } 
     121    if(success || !keyfile.isEmpty()){ 
    120122      //Go to the next page directly 
    121123      this->next(); //this bypasses the status of the "next" button (so we can leave it disabled in the UI) 
Note: See TracChangeset for help on using the changeset viewer.