]> git.mxchange.org Git - flightgear.git/commitdiff
Make sure FlightGear quits when a specified aircraft configuration file was not found
authorehofman <ehofman>
Wed, 7 Jan 2004 13:03:44 +0000 (13:03 +0000)
committerehofman <ehofman>
Wed, 7 Jan 2004 13:03:44 +0000 (13:03 +0000)
src/Main/fg_init.cxx

index 46e86aea393b35b74fadc28816c33e9506fc36db..6952bb9330f5b040f1443ebab57bda7783dac8ee 100644 (file)
@@ -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 {