Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Commit

Permalink
QubesDomainProxy fix domain-pre-shutdown event handling
Browse files Browse the repository at this point in the history
  • Loading branch information
kalkin committed Jun 17, 2017
1 parent bed0445 commit 1bb9730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubesdbus/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def forward_vm_event(self, vm, event, *args, **kwargs):
log.error('Could not add vm via to dbus DomainManager')
log.info('Added VM %s', data)
self.new_vm.remove(vm)
elif event in ('domain-spawn', 'domain-pre-shutdown'):
elif event in ('domain-spawn'):
proxy = vm_proxy(vm.qid)
property_set(proxy, 'state', 'Starting')
elif event == 'domain-start':
Expand Down

0 comments on commit 1bb9730

Please sign in to comment.