nsfarm/cli: fix function pexpect_flush
It turns out that nonblocking doesn't mean nonblocking in all cases. In this case when there was no input the read was blocking. The timeout set to zero solves this.
Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
It turns out that nonblocking doesn't mean nonblocking in all cases. In this case when there was no input the read was blocking. The timeout set to zero solves this.