services: xorg: Properly handle the case where ~/.xession is used.
authorLudovic Courtès <ludo@gnu.org>
Mon, 4 Dec 2017 08:59:11 +0000 (09:59 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 4 Dec 2017 09:36:48 +0000 (10:36 +0100)
commit617e87bff13c38d01d9d16ac9f96b0078e2813fe
treeea9b98f6e3e048648ff19d6f6c8f87a28e4576e2
parent78bae62a25d2f29886a27699f5a07afa375192c0
services: xorg: Properly handle the case where ~/.xession is used.

Fixes a regression introduced in
65c0f43649b455db94f1e8b0a244a889cb961b25 in the case where users provide
~/.xsession and SESSION is #f.

* gnu/services/xorg.scm (xinitrc): In the XSESSION-FILE case, check
whether SESSION is #f.
gnu/services/xorg.scm