Pass domain name to qrexec daemon
This commit is contained in:
parent
b2a0b69742
commit
5e0d8c1155
@ -1400,7 +1400,7 @@ class QubesVm(object):
|
||||
xid = self.get_xid()
|
||||
qrexec_env = os.environ
|
||||
qrexec_env['QREXEC_STARTUP_TIMEOUT'] = str(self.qrexec_timeout)
|
||||
retcode = subprocess.call ([system_path["qrexec_daemon_path"], str(xid), self.default_user], env=qrexec_env)
|
||||
retcode = subprocess.call ([system_path["qrexec_daemon_path"], str(xid), self.name, self.default_user], env=qrexec_env)
|
||||
if (retcode != 0) :
|
||||
self.force_shutdown(xid=xid)
|
||||
raise OSError ("ERROR: Cannot execute qrexec-daemon!")
|
||||
|
Loading…
Reference in New Issue
Block a user