context: Don't fail to create the context if HOME isn't available
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Sun, 20 Oct 2019 19:06:19 +0000 (19:06 +0000)
committerRan Benita <ran@unusedvar.com>
Sun, 20 Oct 2019 20:00:30 +0000 (23:00 +0300)
commit4b3783987e53e912322cd282456a0fc8c9dd5cd4
tree06e96a92b96f7d1c48b409359d7f014685d4949a
parentaa118b4b97d7beb5f3e9b707429803e2eb06a132
context: Don't fail to create the context if HOME isn't available

E.g. when Mutter has CAP_SYS_NICE and thus secure_getenv returns NULL.

Fixes https://bugs.archlinux.org/task/64191

[ran: changed to ignore error]
Signed-off-by: Ran Benita <ran@unusedvar.com>
src/context.c