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. PR: https://github.com/opnsense/core/issues/1240 (cherry picked from commit a11850cc) (cherry picked from commit 8986792d)
Showing
Please register or sign in to comment