Fix window manager not starting

This commit is contained in:
Kuba Orlik 2022-04-24 18:21:18 +02:00
parent 42b258a08c
commit faba231818

View File

@ -154,14 +154,7 @@ if [ ! -z "$WINMGR" -a "$WINMGR" != "none" ] ; then
exit 1
fi
WINMGRNAME=${WINMGR%% *}
quiet || echo "Starting window manager: $WINMGRNAME"
(
if quiet ; then
exec > /dev/null
exec 2> /dev/null
fi
$WINMGR > /dev/null 2>&1
) &
$WINMGR &;
winmgrpid=$!
# Wait for the window manager to startup