mirror of
https://github.com/osmarks/ngircd.git
synced 2025-09-04 03:37:56 +00:00
Correctly re-initialize signal handlers on RESTART
This fixes part 2 of bug #127 :-)
This commit is contained in:
@@ -330,6 +330,7 @@ main(int argc, const char *argv[])
|
||||
Channel_Exit();
|
||||
Class_Exit();
|
||||
Log_Exit();
|
||||
Signals_Exit();
|
||||
}
|
||||
Pidfile_Delete();
|
||||
|
||||
|
@@ -334,6 +334,7 @@ Signals_Exit(void)
|
||||
#endif
|
||||
close(signalpipe[1]);
|
||||
close(signalpipe[0]);
|
||||
signalpipe[0] = signalpipe[1] = 0;
|
||||
}
|
||||
|
||||
/* -eof- */
|
||||
|
Reference in New Issue
Block a user