summaryrefslogtreecommitdiff
path: root/src/irmd/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irmd/main.c')
-rw-r--r--src/irmd/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c
index ff129b71..26251858 100644
--- a/src/irmd/main.c
+++ b/src/irmd/main.c
@@ -1712,6 +1712,7 @@ static struct irm * irm_create()
} else {
LOG_INFO("IRMd already running (%d), exiting.",
shm_du_map_owner(dum));
+ shm_du_map_close(dum);
free(instance);
exit(EXIT_SUCCESS);
}