minor, add a TODO to hostnamed.c i caught
[systembsd.git] / src / interfaces / hostnamed / hostnamed.c
index cf066b285d64914f04fb0c1689cc12bcefc75fcf..2eadbe8789450ba1ff7df798d15caa78ed116925 100644 (file)
@@ -253,6 +253,10 @@ void set_signal_handlers() {
        g_unix_signal_add(SIGINT,  unix_sig_terminate_handler, NULL);
        g_unix_signal_add(SIGHUP,  unix_sig_terminate_handler, NULL);
        g_unix_signal_add(SIGTERM, unix_sig_terminate_handler, NULL);
+
+       /* TODO: the "only once" guarantee only counts towards specific signals.
+        *       make sure calling a SIGINT and SIGHUP doesn't cause term_handler()
+        *       to be called twice */
 }
 
 int main() {