warn about badly set fg-root
This commit is contained in:
parent
b6a354980d
commit
a29ee7c257
1 changed files with 2 additions and 0 deletions
|
@ -173,6 +173,8 @@ void FGGlobals::set_fg_root (const string &root) {
|
|||
tmp.append( "version" );
|
||||
if ( ulFileExists( tmp.c_str() ) ) {
|
||||
fg_root += "/data";
|
||||
SG_LOG(SG_GENERAL, SG_WARN, "Warning: changing bad FG_ROOT/--fg-root to '"
|
||||
<< fg_root << '\'');
|
||||
}
|
||||
|
||||
// remove /sim/fg-root before writing to prevent hijacking
|
||||
|
|
Loading…
Add table
Reference in a new issue