public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [setup - the official Cygwin setup program used to install Cygwin and keep it up to date] branch master, updated. release_2.875-10-gc52ffa7
@ 2016-09-02 10:26 corinna
  0 siblings, 0 replies; only message in thread
From: corinna @ 2016-09-02 10:26 UTC (permalink / raw)
  To: cygwin-apps-cvs




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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-02 10:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-02 10:26 [setup - the official Cygwin setup program used to install Cygwin and keep it up to date] branch master, updated. release_2.875-10-gc52ffa7 corinna

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).