From: dms Date: Fri, 2 Feb 2001 13:12:59 +0000 (+0000) Subject: - if shmRead fails, try openSHM. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=550671cd2e6568800a1fa091211b8c3fb2134b3e;p=infobot.git - if shmRead fails, try openSHM. git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@304 c11ca15a-4712-0410-83d8-924469b57eb5 --- 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 ''; } }