Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Open unlock machine on VM#start if the session is open
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Jan 16, 2011
1 parent e8d7c6c commit a63db3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/virtualbox/vm.rb
Expand Up @@ -472,7 +472,7 @@ def start(mode="gui")
# as well
session = Lib.lib.session
interface.launch_vm_process(session, mode.to_s, "").wait
session.unlock_machine
session.unlock_machine if session.state == :open
true
end

Expand Down

0 comments on commit a63db3a

Please sign in to comment.