diff options
Diffstat (limited to 'lib/vty_io_term.c')
-rw-r--r-- | lib/vty_io_term.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/vty_io_term.c b/lib/vty_io_term.c index 416968bf..857e457a 100644 --- a/lib/vty_io_term.c +++ b/lib/vty_io_term.c @@ -515,7 +515,7 @@ uty_term_ready(vio_vf vf) vio_lc_counter_reset(vf->cli->olc) ; /* do one tranche */ done = uty_term_write(vf) ; - signal = done == utw_done ; + signal = ((done == utw_done) || (done == utw_stopped)) ; while (done != utw_error) { @@ -538,7 +538,7 @@ uty_term_ready(vio_vf vf) if (done == done_before) break ; /* quit if no change in response */ - if (done == utw_done) + if ((done == utw_done) || (done == utw_stopped)) signal = true ; } ; |