changeset 385:5e09d6ecd0fa

Irccd: fix std::exit(0) in main.cpp for --version option
author David Demelier <markand@malikania.fr>
date Thu, 22 Dec 2016 12:38:21 +0100
parents 2cd3658f4450
children 6a6513d184c3
files irccd/main.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/irccd/main.cpp	Thu Dec 22 08:47:47 2016 +0100
+++ b/irccd/main.cpp	Thu Dec 22 12:38:21 2016 +0100
@@ -97,8 +97,9 @@
         std::cout << std::boolalpha << std::endl;
         std::cout << "ssl:          " << ssl << std::endl;
         std::cout << "javascript:   " << js << std::endl;
-        std::exit(0);
     }
+
+    std::exit(0);
 }
 
 void stop(int)