diff options
author | Chris Michael <cp.michael@samsung.com> | 2015-10-30 09:08:41 -0400 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2015-10-30 09:28:10 -0400 |
commit | 4ef8750733086d000d63ff10ae28f945c5fa6e64 (patch) | |
tree | 4afbc57503ade9a5ba094075bb89b4ba61b68582 | |
parent | 329832bb801210b37e94c6419dfba1f01b1acabb (diff) | |
download | efl-4ef8750733086d000d63ff10ae28f945c5fa6e64.tar.gz |
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>
-rw-r--r-- | src/lib/ecore_drm/ecore_drm_tty.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_tty.c b/src/lib/ecore_drm/ecore_drm_tty.c index 40a0019f71..bf057868a7 100644 --- a/src/lib/ecore_drm/ecore_drm_tty.c +++ b/src/lib/ecore_drm/ecore_drm_tty.c @@ -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) { |