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.
mentioned in commit 510ed9bffaab63f397694cc82cded7bd10abff8b
mentioned in commit abb4ae8b
mentioned in commit 38077ba8