Explicitly log nav-cache read-only flag.
This commit is contained in:
parent
cad283b2ce
commit
ec8b55d3c5
1 changed files with 2 additions and 0 deletions
|
@ -261,6 +261,8 @@ public:
|
|||
SG_LOG(SG_NAVCACHE, SG_INFO, "NavCache at:" << path);
|
||||
|
||||
readOnly = fgGetBool("/sim/fghome-readonly", false);
|
||||
SG_LOG(SG_NAVCACHE, SG_INFO, "NavCache read-only flags is:" << readOnly);
|
||||
|
||||
if (!readOnly && !path.canWrite()) {
|
||||
throw sg_exception("Nav-cache file is not writeable");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue