From 46877af1a7f76290f103396a4916190666c87790 Mon Sep 17 00:00:00 2001 From: ehofman Date: Wed, 7 Jan 2004 13:03:44 +0000 Subject: [PATCH] Make sure FlightGear quits when a specified aircraft configuration file was not found --- src/Main/fg_init.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index 46e86aea3..6952bb933 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -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 {