VirtualBox

Changeset 31071 in vbox


Ignore:
Timestamp:
Jul 23, 2010 4:24:33 PM (14 years ago)
Author:
vboxsync
Message:

VBoxShell: correct machine state check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxShell/vboxshell.py

    r31034 r31071  
    10381038    if mach == None:
    10391039        return 0
    1040     if str(mach.sessionState) != str(ctx['const'].SessionState_Locked):
     1040    if mach.state != ctx['const'].MachineState_Running:
    10411041        cmdClosedVm(ctx, mach, lambda ctx, mach, a: guestExec (ctx, mach, None, ' '.join(args[2:])))
    10421042    else:
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