From 7b582e0339bf91eccb5fafbf298b1ac17231a23c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 17 Mar 2015 14:46:53 +0100 Subject: [PATCH] qrexec: do not leak FDs to logger process MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This would prevent qrexec from detecting EOF. Signed-off-by: Marek Marczykowski-Górecki --- qrexec/qubes-rpc-multiplexer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrexec/qubes-rpc-multiplexer b/qrexec/qubes-rpc-multiplexer index 1315c0f..06d4213 100755 --- a/qrexec/qubes-rpc-multiplexer +++ b/qrexec/qubes-rpc-multiplexer @@ -1,7 +1,7 @@ #!/bin/sh mkfifo /tmp/qrexec-rpc-stderr.$$ -logger -t "$1-$2" -f /tmp/qrexec-rpc-stderr.$$ & +logger -t "$1-$2" -f /tmp/qrexec-rpc-stderr.$$ >/dev/null 2>&1 /tmp/qrexec-rpc-stderr.$$ rm -f /tmp/qrexec-rpc-stderr.$$