src/Main/main.cxx: added diagnostic if initTerrasync() fails because /sim/fghome-readonly is true.
This commit is contained in:
parent
8ec91b3220
commit
25e56ceee7
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue