diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-04-30 15:51:19 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-04-30 15:51:19 +0200 |
commit | f8001cbb6eca7709cc24285f89ca7cd448fbb9d8 (patch) | |
tree | ea95bc431fd34496d838be85acc4cd78df167de1 /src | |
parent | 886b81498f2b0e738c16ec55d4675f3c8555117d (diff) | |
download | weechat-f8001cbb6eca7709cc24285f89ca7cd448fbb9d8.zip |
Added comment in source for SIGHUP signal
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/curses/gui-curses-main.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; } |