From aedd97bb3a17ec458ad10b9377ccb2dbb845c266 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Thu, 15 Aug 2013 00:01:41 +0200 Subject: [PATCH] qrexec: minor formating fix --- qrexec/qrexec-policy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qrexec/qrexec-policy b/qrexec/qrexec-policy index 068e31c..879c337 100755 --- a/qrexec/qrexec-policy +++ b/qrexec/qrexec-policy @@ -98,10 +98,10 @@ def do_execute(domain, target, user, exec_index, process_ident): elif target == "$dispvm": cmd = "/usr/lib/qubes/qfile-daemon-dvm " + exec_index + " " + domain + " " +user else: - # see the previous commit why "qvm-run -a" is broken and dangerous - # also, dangling "xl" would keep stderr open and may prevent closing connection + # see the previous commit why "qvm-run -a" is broken and dangerous + # also, dangling "xl" would keep stderr open and may prevent closing connection spawn_target_if_necessary(target) - cmd= QREXEC_CLIENT + " -d " + target + " '" + user + cmd= QREXEC_CLIENT + " -d " + target + " '" + user cmd+=":QUBESRPC "+ exec_index + " " + domain + "'" os.execl(QREXEC_CLIENT, "qrexec-client", "-d", domain, "-l", cmd, "-c", process_ident)