From f8001cbb6eca7709cc24285f89ca7cd448fbb9d8 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Wed, 30 Apr 2008 15:51:19 +0200 Subject: Added comment in source for SIGHUP signal --- src/gui/curses/gui-curses-main.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/gui/curses/gui-curses-main.c b/src/gui/curses/gui-curses-main.c index 5a9976ca4..3578775e8 100644 --- a/src/gui/curses/gui-curses-main.c +++ b/src/gui/curses/gui-curses-main.c @@ -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; } -- cgit v1.2.3