From 82c72d60464468657f16e545874e41405ea1a777 Mon Sep 17 00:00:00 2001 From: in2 Date: Sun, 16 Feb 2003 08:58:00 +0000 Subject: exit if bcache if not loaded git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@662 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/util/util_cache.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pttbbs/util/util_cache.c b/pttbbs/util/util_cache.c index ee6325c3..4d69bef8 100644 --- a/pttbbs/util/util_cache.c +++ b/pttbbs/util/util_cache.c @@ -1,4 +1,4 @@ -/* $Id: util_cache.c,v 1.9 2003/02/10 17:34:39 in2 Exp $ */ +/* $Id: util_cache.c,v 1.10 2003/02/16 08:58:00 in2 Exp $ */ #include #include #include @@ -317,7 +317,8 @@ static void reload_bcache() { safe_sleep(1); } else{ - SHM->Buptime = SHM->Btouchtime; + puts("bcache is not loaded? resolve_boards() fail"); + exit(1); } } -- cgit v1.2.3