kv: Set finished before the stdin handler removes itself #216
@@ -196,8 +196,8 @@ void kv_cli_t::run()
|
||||
}
|
||||
if (events & EPOLLRDHUP)
|
||||
{
|
||||
epmgr->tfd->set_fd_handler(0, false, NULL);
|
||||
finished = true;
|
||||
epmgr->tfd->set_fd_handler(0, false, NULL);
|
||||
}
|
||||
});
|
||||
interactive = isatty(0);
|
||||
|
||||
Reference in New Issue
Block a user