services: xorg: Fix ~/.xsession handling.

Fixes a regression introduced in c510cbb4ec.

* gnu/services/xorg.scm (xinitrc)[builder]: Add missing 'apply' when
XSESSION-FILE exists.
This commit is contained in:
Ludovic Courtès 2016-03-24 10:59:28 +01:00
parent 473dbe9b19
commit f2ab925028

View file

@ -250,7 +250,7 @@ (define (exec-from-login-shell command . args)
((_ x ..1) x))))
(if (file-exists? xsession-file)
;; Run ~/.xsession when it exists.
(exec-from-login-shell xsession-file session)
(apply exec-from-login-shell xsession-file session)
;; Otherwise, start the specified session.
(apply exec-from-login-shell session)))))