1
0
Fork 0

Sentry: add a bread-crumb when user overrides read-only lock

This commit is contained in:
Automatic Release Builder 2020-12-06 18:48:01 +00:00 committed by James Turner
parent a85a02069f
commit e7801a65b3

View file

@ -592,6 +592,7 @@ int fgMainInit( int argc, char **argv )
auto r = flightgear::showLockFileDialog();
if (r == flightgear::LockFileReset) {
SG_LOG( SG_GENERAL, SG_MANDATORY_INFO, "Deleting lock file at user request");
flightgear::addSentryBreadcrumb("deleting lock-file at user request", "info");
fgDeleteLockFile();
fgSetBool("/sim/fghome-readonly", false);
} else if (r == flightgear::LockFileQuit) {