summaryrefslogtreecommitdiff
path: root/src/irmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/irmd')
-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 ab6d5167..8ac22118 100644
--- a/src/irmd/main.c
+++ b/src/irmd/main.c
@@ -1711,6 +1711,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);
}