Hide errors from qubes.WaitForSession

Especially "Killed" message, which is normal as 'sleep' is signalled with
SIGKILL once session is ready.
This commit is contained in:
Marek Marczykowski-Górecki 2013-12-15 05:36:43 +01:00
parent 22929bb18f
commit a0f3ce9e93

View File

@ -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