From a0f3ce9e935ff6870cb136dc6e2da1c3a7119885 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 15 Dec 2013 05:36:43 +0100 Subject: [PATCH] Hide errors from qubes.WaitForSession Especially "Killed" message, which is normal as 'sleep' is signalled with SIGKILL once session is ready. --- qubes-rpc/qubes.WaitForSession | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes-rpc/qubes.WaitForSession b/qubes-rpc/qubes.WaitForSession index 39042f7..a7c2b59 100644 --- a/qubes-rpc/qubes.WaitForSession +++ b/qubes-rpc/qubes.WaitForSession @@ -1,2 +1,2 @@ read USERNAME -su -c 'echo $$ >> /tmp/qubes-session-waiter; [ ! -f /tmp/qubes-session-env ] && exec sleep 365d' - "$USERNAME" +su -c 'echo $$ >> /tmp/qubes-session-waiter; [ ! -f /tmp/qubes-session-env ] && exec sleep 365d' - "$USERNAME" 2> /dev/null