[PATCH 3/6] ipack: ipoctal: fix tty-registration error handling