write xinit stderr output to xinit.log

Signed-off-by: Stacy Harper <contact@stacyharper.net>
master
Maarten van Gompel 3 years ago committed by Stacy Harper
parent 2a89aaa4db
commit f057593692
No known key found for this signature in database
GPG Key ID: 5BAC92328B7C5D65
  1. 5
      scripts/core/sxmo_xinit.sh

@ -117,8 +117,7 @@ xinit() {
. "$(dirname "$0")/sxmo_common.sh" . "$(dirname "$0")/sxmo_common.sh"
envvars envvars
# set device env vars here to allow potentially overriding envvars device_envvars # set device env vars here to allow potentially overriding envvars
device_envvars
setupxdgdir setupxdgdir
xdefaults xdefaults
daemons daemons
@ -126,7 +125,7 @@ xinit() {
} }
if [ -z "$1" ]; then 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 else
"$1" "$1"
fi fi

Loading…
Cancel
Save