dom0/core: fix return value of QubesHVM.run()

This commit is contained in:
Marek Marczykowski 2012-09-25 00:23:20 +02:00
parent 9db9d8b6c2
commit f271ad8463

View File

@ -2446,7 +2446,7 @@ class QubesHVm(QubesVm):
if self.qrexec_installed:
if 'gui' in kwargs and kwargs['gui']==False:
command = "nogui:" + command
super(QubesHVm, self).run(command, **kwargs)
return super(QubesHVm, self).run(command, **kwargs)
else:
raise QubesException("Needs qrexec agent installed in VM to use this function. See also qvm-prefs.")