VirtualBox

Ignore:
Timestamp:
Oct 24, 2019 12:31:36 PM (5 years ago)
Author:
vboxsync
Message:

bugref:9395. Improved the action (local or cloud) check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageAppliance.cpp

    r81400 r81515  
    362362    }
    363363
    364     if (actionType == LOCAL && strOvfFilename.isEmpty())
     364    /* Last check after parsing all arguments */
     365    if (strOvfFilename.isNotEmpty())
     366    {
     367        if (actionType == NOT_SET)
     368        {
     369            if (fCloud)
     370                actionType = CLOUD;
     371            else
     372                actionType = LOCAL;
     373        }
     374    }
     375    else
    365376        return errorSyntax(USAGE_IMPORTAPPLIANCE, "Not enough arguments for \"import\" command.");
    366377
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