summaryrefslogtreecommitdiffstats
path: root/web/util_cache.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-25 04:44:09 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-25 04:44:09 +0800
commit67278caff081fa2e2047d807023f5ebb51afa574 (patch)
tree529ed8335439cd547f4b536f089d35aa11e8caad /web/util_cache.c
parent4670a39b82ad53300228038a48b38ec885292af1 (diff)
downloadpttbbs-67278caff081fa2e2047d807023f5ebb51afa574.tar
pttbbs-67278caff081fa2e2047d807023f5ebb51afa574.tar.gz
pttbbs-67278caff081fa2e2047d807023f5ebb51afa574.tar.bz2
pttbbs-67278caff081fa2e2047d807023f5ebb51afa574.tar.lz
pttbbs-67278caff081fa2e2047d807023f5ebb51afa574.tar.xz
pttbbs-67278caff081fa2e2047d807023f5ebb51afa574.tar.zst
pttbbs-67278caff081fa2e2047d807023f5ebb51afa574.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@711 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'web/util_cache.c')
-rwxr-xr-xweb/util_cache.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/web/util_cache.c b/web/util_cache.c
index 5178dad5..7bfb67cc 100755
--- a/web/util_cache.c
+++ b/web/util_cache.c
@@ -1,4 +1,4 @@
-/* $Id: util_cache.c,v 1.1 2002/10/18 14:43:58 ptt Exp $ */
+/* $Id: util_cache.c,v 1.2 2003/03/24 20:44:09 ptt Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -316,6 +316,10 @@ static void reload_bcache() {
if(SHM->Bbusystate) {
safe_sleep(1);
}
+ else{
+ puts("bcache is not loaded? resolve_boards() fail");
+ exit(1);
+ }
}
void resolve_boards() {