]> git.donarmstrong.com Git - infobot.git/commitdiff
- if shmRead fails, try openSHM.
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 2 Feb 2001 13:12:59 +0000 (13:12 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 2 Feb 2001 13:12:59 +0000 (13:12 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@304 c11ca15a-4712-0410-83d8-924469b57eb5

src/Shm.pl

index 084395865f2851d20ec39d6124cfd45e130046b6..40d9f38fe2e2f0e6827760259b2fb4723b7903d1 100644 (file)
@@ -44,6 +44,8 @@ sub shmRead {
        return $retval;
     } else {
        &ERROR("shmRead: failed: $!");
+       ### TODO: if this fails, never try again.
+       &openSHM();
        return '';
     }
 }