Fix window manager not starting
This commit is contained in:
parent
42b258a08c
commit
faba231818
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user