Make some more noise if (stale) fgfs.pid file exists
This commit is contained in:
parent
31c66226e1
commit
a1e81a2fdc
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ bool fgInitHome()
|
||||||
// write our PID, and check writeability
|
// write our PID, and check writeability
|
||||||
SGPath pidPath(dataPath, "fgfs.pid");
|
SGPath pidPath(dataPath, "fgfs.pid");
|
||||||
if (pidPath.exists()) {
|
if (pidPath.exists()) {
|
||||||
SG_LOG(SG_GENERAL, SG_INFO, "flightgear instance already running, switching to FG_HOME read-only.");
|
SG_LOG(SG_GENERAL, SG_ALERT, "flightgear instance already running, switching to FG_HOME read-only.");
|
||||||
// set a marker property so terrasync/navcache don't try to write
|
// set a marker property so terrasync/navcache don't try to write
|
||||||
// from secondary instances
|
// from secondary instances
|
||||||
fgSetBool("/sim/fghome-readonly", true);
|
fgSetBool("/sim/fghome-readonly", true);
|
||||||
|
|
Loading…
Reference in a new issue