diff --git a/src/Main/fg_commands.cxx b/src/Main/fg_commands.cxx index 4097da790..23bf24222 100644 --- a/src/Main/fg_commands.cxx +++ b/src/Main/fg_commands.cxx @@ -192,7 +192,7 @@ static bool do_exit (const SGPropertyNode * arg) { SG_LOG(SG_INPUT, SG_INFO, "Program exit requested."); - fgSetBool("/sim/signals/quit", true); + fgSetBool("/sim/signals/exit", true); if (fgGetBool("/sim/startup/save-on-exit")) { #ifdef _MSC_VER