projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
465ab2c
)
libweston/launcher-direct.c: do not fail if already in graphics mode
author
Andreas Heynig
<Andreas.Heynig@meetwise.com>
Wed, 22 Jan 2020 18:36:57 +0000
(19:36 +0100)
committer
Daniel Stone
<daniels@collabora.com>
Mon, 17 Aug 2020 11:59:39 +0000
(11:59 +0000)
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>
libweston/launcher-direct.c
patch
|
blob
|
history
diff --git
a/libweston/launcher-direct.c
b/libweston/launcher-direct.c
index
382ca49
..
c20d70f
100644
(file)
--- a/
libweston/launcher-direct.c
+++ b/
libweston/launcher-direct.c
@@
-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));