forked from enlightenment/efl
ecore-drm: Don't exit tty setup if tty is already in graphics mode
Summary: If we go to setup a tty and it is already in graphics mode, then there is no need to exit with a failed setup here. Instead, we can actually continue to setup the tty. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
329832bb80
commit
4ef8750733
|
@ -68,10 +68,7 @@ _ecore_drm_tty_setup(Ecore_Drm_Device *dev)
|
|||
}
|
||||
|
||||
if (kmode != KD_TEXT)
|
||||
{
|
||||
WRN("Virtual Terminal already in KD_GRAPHICS mode");
|
||||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
if (ioctl(dev->tty.fd, VT_ACTIVATE, minor(st.st_rdev)) < 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue