Parent Directory
|
Revision Log
|
Patch
| Revision 1.31 by sysadm, Tue Jun 17 01:24:21 2025 UTC | Revision 1.32 by sysadm, Tue Jun 17 02:06:48 2025 UTC | |
|---|---|---|
| # | Line 89 void sig_hup_handler(int i) | Line 89 void sig_hup_handler(int i) |
| 89 | ||
| 90 | void sig_term_handler(int i) | void sig_term_handler(int i) |
| 91 | { | { |
| struct sigaction act = {0}; | ||
| 92 | SYS_server_exit = 1; | SYS_server_exit = 1; |
| act.sa_handler = SIG_IGN; | ||
| sigaction(SIGTERM, &act, NULL); | ||
| 93 | } | } |
| 94 | ||
| 95 | void sig_chld_handler(int i) | void sig_chld_handler(int i) |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |