summaryrefslogtreecommitdiff
path: root/src/irmd
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2017-08-29 16:50:26 +0000
committerdimitri staessens <[email protected]>2017-08-29 16:50:26 +0000
commit8fe0340d2117cf9b5c724ff10621978ef2bee5f1 (patch)
tree8158e5feb1e59546ba1f972286f84ba7532c6615 /src/irmd
parentf3593b8a26c05392b09c16472b55f8662db22335 (diff)
parente533ca60b841193fbdb7d135de3d9e56916445c2 (diff)
downloadouroboros-8fe0340d2117cf9b5c724ff10621978ef2bee5f1.tar.gz
ouroboros-8fe0340d2117cf9b5c724ff10621978ef2bee5f1.zip
Merged in sandervrijders/ouroboros/be-corrupt (pull request #581)
Be corrupt
Diffstat (limited to 'src/irmd')
-rw-r--r--src/irmd/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c
index 1d62de85..c5caff6c 100644
--- a/src/irmd/main.c
+++ b/src/irmd/main.c
@@ -2204,7 +2204,7 @@ static int irm_init(void)
if (kill(lockfile_owner(irmd.lf), 0) < 0) {
log_info("IRMd didn't properly shut down last time.");
- shm_rdrbuff_destroy(shm_rdrbuff_open());
+ shm_rdrbuff_purge();
log_info("Stale resources cleaned.");
lockfile_destroy(irmd.lf);
irmd.lf = lockfile_create();