tty: Improve error handling in tty_create()
tty: Improve error handling in tty_create()

Signed-off-by: Jonas Ådahl <67dcd8a17e758192e0cbb577ce1d62cc7da6cf49@gmail.com>

xorgy/weston,kwm81/weston,giucam/weston,giucam/weston,udoprog/weston,eyolfson/weston,sir-murray/weston,kwm81/weston,Fantu/compositor-spice,Fantu/compositor-spice,xorgy/weston,mchalupa/weston,Tarnyko/weston-xdg_surface_present,Tarnyko/weston-xdg_surface_present,Fantu/compositor-spice,udoprog/weston,jonnylamb/weston,jonnylamb/weston,eyolfson/weston,mchalupa/weston,Gnurou/weston,krezovic/weston,Gnurou/weston,krezovic/weston,sir-murray/weston