diff options
Diffstat (limited to 'lib/vty.c')
-rw-r--r-- | lib/vty.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -440,7 +440,8 @@ uty_reset (bool curtains, const char* why) vio = next ; next = sdl_next(vio, vio_list) ; - cq_revoke(vio->vty) ; + if (vio->type == VTY_TERM) + cq_revoke(vio->vty) ; if (why != NULL) vio->close_reason = why ; |