Log signal handler

Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
pull/163/head
Jim Ramsay 2022-10-06 09:56:46 -04:00 committed by Andri Yngvason
parent e9a7d6ecf9
commit a2d9afc90f
1 changed files with 1 additions and 0 deletions

View File

@ -426,6 +426,7 @@ void wayvnc_exit(struct wayvnc* self)
void on_signal(void* obj) void on_signal(void* obj)
{ {
nvnc_log(NVNC_LOG_WARNING, "Received termination signal. Shutting down.");
struct wayvnc* self = aml_get_userdata(obj); struct wayvnc* self = aml_get_userdata(obj);
wayvnc_exit(self); wayvnc_exit(self);
} }