Fixed mbstat wait timeout
This commit is contained in:
parent
f4dbd6a0b2
commit
e3961d8449
@ -256,7 +256,7 @@ int Wait(void)
|
|||||||
char buf[PATH_MAX];
|
char buf[PATH_MAX];
|
||||||
|
|
||||||
sprintf(buf, "%s/sema/upsdown", getenv("MBSE_ROOT"));
|
sprintf(buf, "%s/sema/upsdown", getenv("MBSE_ROOT"));
|
||||||
if (file_exist(buf, R_OK))
|
if (file_exist(buf, R_OK) == 0)
|
||||||
Waiting = 30;
|
Waiting = 30;
|
||||||
|
|
||||||
Syslog('+', "Waiting for the BBS to become free, timout %d seconds", Waiting);
|
Syslog('+', "Waiting for the BBS to become free, timout %d seconds", Waiting);
|
||||||
|
Reference in New Issue
Block a user