VirtualBox

Changeset 94346 in vbox


Ignore:
Timestamp:
Mar 24, 2022 7:43:46 AM (3 years ago)
Author:
vboxsync
Message:

Main/Unattended: ​​bugref:9781. Build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/UnattendedInstaller.cpp

    r94345 r94346  
    11391139{
    11401140    /*
    1141      * Unlike Redhats Debian variants define boot menu not in isolinux.cfg but some other
     1141     * Unlike Redhats, Debian variants define boot menu not in isolinux.cfg but some other
    11421142     * menu configuration files. They are mostly called txt.cfg and/or menu.cfg (and possibly some other names)
    1143      * In this functions we attempt to set menu's default labels to the one containing the word 'install'.
     1143     * In this functions we attempt to set menu's default label (default menu item) to the one containing the word 'install'.
    11441144     */
    11451145    try
     
    11541154            if (!RTStrIStartsWith(rContent.c_str(), "label"))
    11551155                continue;
    1156             /* Use the first menu item starting with word label  and have the word 'install'.*/
     1156            /* Use the first menu item starting with word label and includes the word 'install'.*/
    11571157            if (RTStrIStr(rContent.c_str(), "install") != NULL)
    11581158            {
    1159 
    11601159                /* Set the content of the line. It looks like multiple word labels (like label Debian Installer)
    11611160                 * does not work very well in some cases. */
     
    11701169        }
    11711170        if (!fLabelFound)
    1172             return VERR_MISSING;
     1171            return E_FAIL;
    11731172        /* Modify the content of default lines so that they point to label we have chosen above. */
    11741173        std::vector<size_t> vecDefaultLineNumbers = pEditor->findTemplate("default", RTCString::CaseInsensitive);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette