qrexec: minor formating fix

This commit is contained in:
Marek Marczykowski-Górecki 2013-08-15 00:01:41 +02:00
parent b4ab187793
commit aedd97bb3a

View File

@ -98,10 +98,10 @@ def do_execute(domain, target, user, exec_index, process_ident):
elif target == "$dispvm": elif target == "$dispvm":
cmd = "/usr/lib/qubes/qfile-daemon-dvm " + exec_index + " " + domain + " " +user cmd = "/usr/lib/qubes/qfile-daemon-dvm " + exec_index + " " + domain + " " +user
else: else:
# see the previous commit why "qvm-run -a" is broken and dangerous # see the previous commit why "qvm-run -a" is broken and dangerous
# also, dangling "xl" would keep stderr open and may prevent closing connection # also, dangling "xl" would keep stderr open and may prevent closing connection
spawn_target_if_necessary(target) spawn_target_if_necessary(target)
cmd= QREXEC_CLIENT + " -d " + target + " '" + user cmd= QREXEC_CLIENT + " -d " + target + " '" + user
cmd+=":QUBESRPC "+ exec_index + " " + domain + "'" cmd+=":QUBESRPC "+ exec_index + " " + domain + "'"
os.execl(QREXEC_CLIENT, "qrexec-client", "-d", domain, "-l", cmd, "-c", process_ident) os.execl(QREXEC_CLIENT, "qrexec-client", "-d", domain, "-l", cmd, "-c", process_ident)