rc: fix an infinite loop on tty close
if the tty is closed while the script is running, it would previously go in an infinite loop trying to read from and write to the now-defunct tty. fixes: https://github.com/opnsense/core/issues/1240
Showing
Please register or sign in to comment