From 550671cd2e6568800a1fa091211b8c3fb2134b3e Mon Sep 17 00:00:00 2001
From: dms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Date: Fri, 2 Feb 2001 13:12:59 +0000
Subject: [PATCH] - if shmRead fails, try openSHM.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@304 c11ca15a-4712-0410-83d8-924469b57eb5
---
 src/Shm.pl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/Shm.pl b/src/Shm.pl
index 0843958..40d9f38 100644
--- a/src/Shm.pl
+++ b/src/Shm.pl
@@ -44,6 +44,8 @@ sub shmRead {
 	return $retval;
     } else {
 	&ERROR("shmRead: failed: $!");
+	### TODO: if this fails, never try again.
+	&openSHM();
 	return '';
     }
 }
-- 
2.39.5