Skip to content

Commit

Permalink
vty: add note on exit path
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Oct 28, 2010
1 parent 82e447c commit 958bebc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vty.c
Expand Up @@ -149,7 +149,8 @@ int knet_vty_main_loop(const char *configfile, const char *ip_addr,
se_result = select((vty_listener_fd + 1), &rfds, 0, 0, &tv);

if ((se_result == -1) && (daemon_quit)) {
log_info("Got a SIGTERM, goodbye");
log_info("Got a SIGTERM, goodbye");
/* to be 100% clean here, we should allow the threads to exit */
goto out;
}

Expand Down

0 comments on commit 958bebc

Please sign in to comment.