1
0
Fork 0

src/Main/main.cxx: added diagnostic if initTerrasync() fails because /sim/fghome-readonly is true.

This commit is contained in:
Julian Smith 2021-01-22 12:57:02 +00:00
parent 8ec91b3220
commit 25e56ceee7

View file

@ -177,6 +177,7 @@ static void initTerrasync()
globals->append_data_path(terraSyncDir, false /* = ahead of FG_ROOT */);
if (fgGetBool("/sim/fghome-readonly", false)) {
SG_LOG(SG_GENERAL, SG_ALERT, "initTerrasync() failing because /sim/fghome-readonly is true");
return;
}