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 exit 1
fi fi
WINMGRNAME=${WINMGR%% *} WINMGRNAME=${WINMGR%% *}
quiet || echo "Starting window manager: $WINMGRNAME" $WINMGR &;
(
if quiet ; then
exec > /dev/null
exec 2> /dev/null
fi
$WINMGR > /dev/null 2>&1
) &
winmgrpid=$! winmgrpid=$!
# Wait for the window manager to startup # Wait for the window manager to startup