From 871e6c0c73d31420a7a3521ddef517198b97f1f8 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 3 Dec 2011 12:02:27 +0200 Subject: [PATCH] On SIGINT in main menu, don't connect before shutting down --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 11e1a8dc..b7c3ceff 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1631,7 +1631,7 @@ int main(int argc, char *argv[]) } // Break out of menu-game loop to shut down cleanly - if(device->run() == false) + if(device->run() == false || kill == true) break; /* -- 2.30.2