VirtualBox

Changeset 107959 in vbox for trunk/src


Ignore:
Timestamp:
Jan 28, 2025 10:17:57 AM (3 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167209
Message:

Additions: VBoxControl: Return non-zero status if no Shared Folder mappings available, bugref:10359.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxControl/VBoxControl.cpp

    r106061 r107959  
    17321732            }
    17331733            if (!cMappings)
     1734            {
    17341735                RTPrintf("No Shared Folders available.\n");
     1736                /* Return non-zero status for shell scripts to
     1737                 * detect that there is no mapping available. */
     1738                rc = VERR_NO_DATA;
     1739            }
    17351740            VbglR3SharedFolderFreeMappings(paMappings);
    17361741        }
Note: See TracChangeset for help on using the changeset viewer.

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