[eglfs] fix return logic

Signed-off-by: Simonas Leleiva <simonas.leleiva@jollamobile.com>