diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-02-16 16:58:00 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-02-16 16:58:00 +0800 |
commit | 82c72d60464468657f16e545874e41405ea1a777 (patch) | |
tree | 7b84cf082ba40abb5c3cf22fd7c153cef3a7fd65 | |
parent | 0cd6cfb110f891c13f30ab88db5498d39b0fcd8b (diff) | |
download | pttbbs-82c72d60464468657f16e545874e41405ea1a777.tar pttbbs-82c72d60464468657f16e545874e41405ea1a777.tar.gz pttbbs-82c72d60464468657f16e545874e41405ea1a777.tar.bz2 pttbbs-82c72d60464468657f16e545874e41405ea1a777.tar.lz pttbbs-82c72d60464468657f16e545874e41405ea1a777.tar.xz pttbbs-82c72d60464468657f16e545874e41405ea1a777.tar.zst pttbbs-82c72d60464468657f16e545874e41405ea1a777.zip |
exit if bcache if not loaded
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@662 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/util/util_cache.c | 5 |
1 files 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 <stdio.h> #include <stdlib.h> #include <string.h> @@ -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); } } |