write xinit stderr output to xinit.log

Signed-off-by: Stacy Harper <contact@stacyharper.net>
This commit is contained in:
Maarten van Gompel 2021-07-25 14:00:50 +02:00 committed by Stacy Harper
parent 2a89aaa4db
commit f057593692
No known key found for this signature in database
GPG key ID: 5BAC92328B7C5D65

View file

@ -117,8 +117,7 @@ xinit() {
. "$(dirname "$0")/sxmo_common.sh"
envvars
# set device env vars here to allow potentially overriding envvars
device_envvars
device_envvars # set device env vars here to allow potentially overriding envvars
setupxdgdir
xdefaults
daemons
@ -126,7 +125,7 @@ xinit() {
}
if [ -z "$1" ]; then
xinit
xinit 2> ~/.xinit.log #hard-coded location because at this stage we're not sure the xdg dirs exist yet
else
"$1"
fi