summary refs log tree commit diff
path: root/rvnit.c
diff options
context:
space:
mode:
Diffstat (limited to 'rvnit.c')
-rw-r--r--rvnit.c1
1 files changed, 1 insertions, 0 deletions
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;
 					}
 				}