From 27132b5b5a769d90d3e98289ef8d5e250c9bed56 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 27 Jan 2022 18:44:55 +0100 Subject: fix deadlock --- rvnit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rvnit.c b/rvnit.c index 9afd3f7..a372add 100644 --- a/rvnit.c +++ b/rvnit.c @@ -802,6 +802,7 @@ main(int argc, char *argv[]) LOG("no error handler, going on"); } if (r > 0) { LOG("fatal error, shutting down at level=%d", level); + pthread_mutex_unlock(&services_lock); goto fatal; } } -- cgit 1.4.1