events: fix cleanup function in qrexec case
qrexec-client-vm process may be already dead, don't treat this as an error.
This commit is contained in:
parent
e6149b09ce
commit
b35303ff62
@ -95,7 +95,10 @@ class EventsDispatcher(object):
|
||||
|
||||
def cleanup_func():
|
||||
'''Close connection to qubesd'''
|
||||
proc.kill()
|
||||
try:
|
||||
proc.kill()
|
||||
except ProcessLookupError:
|
||||
pass
|
||||
else:
|
||||
raise NotImplementedError('Unsupported qubesd connection type: '
|
||||
+ self.app.qubesd_connection_type)
|
||||
|
Loading…
Reference in New Issue
Block a user