Make sure FlightGear quits when a specified aircraft configuration file was not found
This commit is contained in:
parent
f279f4b065
commit
46877af1a7
1 changed files with 1 additions and 0 deletions
|
@ -604,6 +604,7 @@ bool fgInitConfig ( int argc, char **argv ) {
|
|||
} else {
|
||||
SG_LOG( SG_INPUT, SG_ALERT, "Cannot find specified aircraft: "
|
||||
<< aircraft );
|
||||
return false;
|
||||
}
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue