1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

Added comment in source for SIGHUP signal

This commit is contained in:
Sebastien Helleu
2008-04-30 15:51:19 +02:00
parent 886b81498f
commit f8001cbb6e
+5
View File
@@ -186,6 +186,11 @@ gui_main_signal_sigterm ()
void
gui_main_signal_sighup ()
{
/* SIGHUP signal is received when terminal is closed (exit of WeeChat
without using /quit command), that's why we set only flag to reload
config files later (when terminal is closed, config files are NOT
reloaded, but they are if signal SIGHUP is sent to WeeChat by user)
*/
gui_reload_config = 1;
}