mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-01-27 00:50:31 +01:00
libweston/launcher-direct.c: do not fail if already in graphics mode
In case of a crash tty remains in graphic mode. This change allows to restart weston without taking care of the actual tty mode. Signed-off-by: ahe <Andreas.Heynig@meetwise.com>
This commit is contained in:
parent
465ab2cd92
commit
2592d6591e
1 changed files with 0 additions and 1 deletions
|
|
@ -160,7 +160,6 @@ setup_tty(struct launcher_direct *launcher, int tty)
|
|||
if (kd_mode != KD_TEXT) {
|
||||
weston_log("%s is already in graphics mode, "
|
||||
"is another display server running?\n", tty_device);
|
||||
goto err_close;
|
||||
}
|
||||
|
||||
ioctl(launcher->tty, VT_ACTIVATE, minor(buf.st_rdev));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue