This is the mail archive of the cygwin-apps-cvs mailing list for the cygwin-apps project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[setup - the official Cygwin setup program used to install Cygwin and keep it up to date] branch master, updated. release_2.875-10-gc52ffa7




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=c52ffa7952b596e30f98dd5131c93ba71efef065

commit c52ffa7952b596e30f98dd5131c93ba71efef065
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Fri Sep 2 12:26:00 2016 +0200

    Call Logger ().exit instead of exit() when leaving
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>


Diff:
---
 main.cc |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/main.cc b/main.cc
index f08da00..fbf12fb 100644
--- a/main.cc
+++ b/main.cc
@@ -293,9 +293,9 @@ WinMain (HINSTANCE h,
     /* Check if Cygwin works on this Windows version */
     if (OSMajorVersion () < 6)
       {
-        mbox (NULL, "Cygwin is not supported on this Windows version",
-              "Cygwin Setup", MB_ICONEXCLAMATION | MB_OK);
-        exit (1);
+	mbox (NULL, "Cygwin is not supported on this Windows version",
+	      "Cygwin Setup", MB_ICONEXCLAMATION | MB_OK);
+	Logger ().exit (1, false);
       }
 
     if (help_option)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]