don't sighup for windows

This commit is contained in:
Jeff Becker 2018-09-19 07:57:07 -04:00
parent df53e79aff
commit 43b4e1eaf3
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
1 changed files with 2 additions and 0 deletions

View File

@ -36,7 +36,9 @@ main(int argc, char *argv[])
if(ctx)
{
signal(SIGINT, handle_signal);
#ifndef _WIN32
signal(SIGHUP, handle_signal);
#endif
code = llarp_main_run(ctx);
llarp_main_free(ctx);
}