commit 56ba3f3bc8dd9d1b37723fa99a3b43bbb8ef5116 parent fa87aec7fbfbb9fe1b7972465d4142d2bedae386 Author: tongong <tongong@gmx.net> Date: Tue, 8 Jun 2021 21:58:55 +0200 added SIGHUP handler Diffstat:
M | timetracker-save.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/timetracker-save.c b/timetracker-save.c @@ -124,6 +124,7 @@ void exithandler(int dummy) { int main() { createdatadir(); + signal(SIGHUP, exithandler); signal(SIGINT, exithandler); signal(SIGTERM, exithandler);