We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e80e0 commit ea8177dCopy full SHA for ea8177d
src/tlshd/main.c
@@ -61,17 +61,6 @@ static void usage(char *progname)
61
fprintf(stderr, "usage: %s [-chsv]\n", progname);
62
}
63
64
-static void tlshd_sigint(int signum)
65
-{
66
- if (signum == SIGINT) {
67
- tlshd_gnutls_priority_deinit();
68
- tlshd_config_shutdown();
69
- tlshd_log_shutdown();
70
- tlshd_log_close();
71
- exit(EXIT_SUCCESS);
72
- }
73
-}
74
-
75
int main(int argc, char **argv)
76
{
77
static gchar config_file[PATH_MAX + 1] = "/etc/tlshd.conf";
@@ -124,8 +113,6 @@ int main(int argc, char **argv)
124
113
return EXIT_FAILURE;
125
114
126
115
127
- signal(SIGINT, tlshd_sigint);
128
129
116
tlshd_genl_dispatch();
130
117
131
118
tlshd_gnutls_priority_deinit();
0 commit comments