Browse Source

Refine #690

pull/691/head
Max Lv 8 years ago
parent
commit
bf210be2b7
3 changed files with 3 additions and 0 deletions
  1. 1
      src/local.c
  2. 1
      src/redir.c
  3. 1
      src/tunnel.c

1
src/local.c

@ -1192,6 +1192,7 @@ int main(int argc, char **argv)
signal(SIGPIPE, SIG_IGN);
signal(SIGABRT, SIG_IGN);
signal(SIGINT, resolve_int_cb);
signal(SIGTERM, resolve_int_cb);
#endif
// Setup keys

1
src/redir.c

@ -853,6 +853,7 @@ int main(int argc, char **argv)
signal(SIGPIPE, SIG_IGN);
signal(SIGABRT, SIG_IGN);
signal(SIGINT, signal_cb);
signal(SIGTERM, signal_cb);
// Setup keys
LOGI("initializing ciphers... %s", method);

1
src/tunnel.c

@ -897,6 +897,7 @@ int main(int argc, char **argv)
signal(SIGPIPE, SIG_IGN);
signal(SIGABRT, SIG_IGN);
signal(SIGINT, signal_cb);
signal(SIGTERM, signal_cb);
#endif
// Setup keys

Loading…
Cancel
Save