1
0
Fork 0

Make some more noise if (stale) fgfs.pid file exists

This commit is contained in:
Torsten Dreyer 2016-03-08 18:37:32 +01:00
parent 31c66226e1
commit a1e81a2fdc

View file

@ -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);