From a17a675ef0908ab16f3d56bbfa077e8fee4d1509 Mon Sep 17 00:00:00 2001 From: dms 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@304 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/Shm.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blootbot/src/Shm.pl b/blootbot/src/Shm.pl index 0843958..40d9f38 100644 --- a/blootbot/src/Shm.pl +++ b/blootbot/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