Changeset 98292 in vbox for trunk/src/VBox/Main/src-server/UnattendedInstaller.cpp
- Timestamp:
- Jan 25, 2023 1:14:53 AM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/UnattendedInstaller.cpp
r98103 r98292 1473 1473 HRESULT UnattendedSuseInstaller::setUserData() 1474 1474 { 1475 HRESULT rc = S_OK;1475 HRESULT hrc = S_OK; 1476 1476 //here base class function must be called first 1477 1477 //because user home directory is set after user name 1478 rc = UnattendedInstaller::setUserData();1479 1480 rc = mAlg->setField(USERHOMEDIR_ID, "");1481 if (FAILED( rc))1482 return rc;1483 1484 return rc;1478 hrc = UnattendedInstaller::setUserData(); 1479 1480 hrc = mAlg->setField(USERHOMEDIR_ID, ""); 1481 if (FAILED(hrc)) 1482 return hrc; 1483 1484 return hrc; 1485 1485 } 1486 1486 … … 1504 1504 HRESULT UnattendedSuseInstaller::setupScriptOnAuxiliaryCD(const Utf8Str &path) 1505 1505 { 1506 HRESULT rc = S_OK;1506 HRESULT hrc = S_OK; 1507 1507 1508 1508 GeneralTextScript isoSuseCfgScript(mpParent); 1509 rc = isoSuseCfgScript.read(path);1510 rc = isoSuseCfgScript.parse();1509 hrc = isoSuseCfgScript.read(path); 1510 hrc = isoSuseCfgScript.parse(); 1511 1511 //fix linux core bootable parameters: add path to the preseed script 1512 1512 … … 1540 1540 } 1541 1541 1542 rc = isoSuseCfgScript.save(path, true);1542 hrc = isoSuseCfgScript.save(path, true); 1543 1543 1544 1544 LogRelFunc(("UnattendedSuseInstaller::setupScriptsOnAuxiliaryCD(): The file %s has been changed\n", path.c_str())); 1545 1545 1546 return rc;1546 return hrc; 1547 1547 } 1548 1548 #endif
Note:
See TracChangeset
for help on using the changeset viewer.