From 8bf505749c9074d16901e1e36395482390c8dc12 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Sat, 29 Oct 2022 15:11:28 +0000 Subject: [PATCH] Normal exiting conditions should not yield warning --- src/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 9cfe16f..e108725 100644 --- a/src/main.c +++ b/src/main.c @@ -426,7 +426,7 @@ void wayvnc_exit(struct wayvnc* self) void on_signal(void* obj) { - nvnc_log(NVNC_LOG_WARNING, "Received termination signal. Shutting down."); + nvnc_log(NVNC_LOG_INFO, "Received termination signal."); struct wayvnc* self = aml_get_userdata(obj); wayvnc_exit(self); } @@ -1148,6 +1148,8 @@ int main(int argc, char* argv[]) aml_dispatch(aml); } + nvnc_log(NVNC_LOG_INFO, "Exiting..."); + screencopy_stop(&self.screencopy); nvnc_display_unref(self.nvnc_display);