From e3961d8449aaf7d78fd58bcdeb1c9233f2931087 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sat, 4 May 2002 18:14:50 +0000 Subject: [PATCH] Fixed mbstat wait timeout --- mbsebbs/mbstat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbsebbs/mbstat.c b/mbsebbs/mbstat.c index 5dd12b49..ef83d16d 100644 --- a/mbsebbs/mbstat.c +++ b/mbsebbs/mbstat.c @@ -256,7 +256,7 @@ int Wait(void) char buf[PATH_MAX]; sprintf(buf, "%s/sema/upsdown", getenv("MBSE_ROOT")); - if (file_exist(buf, R_OK)) + if (file_exist(buf, R_OK) == 0) Waiting = 30; Syslog('+', "Waiting for the BBS to become free, timout %d seconds", Waiting);