This commit is contained in:
ValdikSS 2024-08-08 12:59:36 +03:00
parent 9bb1bc5682
commit dcff8389b3

View File

@ -4,6 +4,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdbool.h>
#include <ctype.h> #include <ctype.h>
#include <signal.h> #include <signal.h>
#include <unistd.h> #include <unistd.h>
@ -941,7 +942,7 @@ int main(int argc, char *argv[]) {
break; break;
case '?': // --debug-exit case '?': // --debug-exit
debug_exit = true; debug_exit = true;
break break;
default: default:
puts("Usage: goodbyedpi.exe [OPTION...]\n" puts("Usage: goodbyedpi.exe [OPTION...]\n"
" -p block passive DPI\n" " -p block passive DPI\n"
@ -1122,7 +1123,7 @@ int main(int argc, char *argv[]) {
die(); die();
} }
if (debug_exit) { if (debug_exit) {
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
printf("Filter activated, GoodbyeDPI is now running!\n"); printf("Filter activated, GoodbyeDPI is now running!\n");
signal(SIGINT, sigint_handler); signal(SIGINT, sigint_handler);