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:
Chris Michael 2015-10-30 09:08:41 -04:00
parent 329832bb80
commit 4ef8750733
1 changed files with 1 additions and 4 deletions

View File

@ -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;
}
WRN("Virtual Terminal already in KD_GRAPHICS mode");
if (ioctl(dev->tty.fd, VT_ACTIVATE, minor(st.st_rdev)) < 0)
{