From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45480 invoked by alias); 2 Sep 2016 10:26:11 -0000 Mailing-List: contact cygwin-apps-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-apps-cvs-owner@sourceware.org Received: (qmail 45462 invoked by uid 9078); 2 Sep 2016 10:26:10 -0000 Date: Fri, 02 Sep 2016 10:26:00 -0000 Message-ID: <20160902102610.45436.qmail@sourceware.org> From: corinna@sourceware.org To: cygwin-apps-cvs@sourceware.org Subject: [setup - the official Cygwin setup program used to install Cygwin and keep it up to date] branch master, updated. release_2.875-10-gc52ffa7 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: e75d09f1cd2e1f3742bae648d48220901e2fb7b4 X-Git-Newrev: c52ffa7952b596e30f98dd5131c93ba71efef065 X-SW-Source: 2016-q3/txt/msg00026.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=c52ffa7952b596e30f98dd5131c93ba71efef065 commit c52ffa7952b596e30f98dd5131c93ba71efef065 Author: Corinna Vinschen Date: Fri Sep 2 12:26:00 2016 +0200 Call Logger ().exit instead of exit() when leaving Signed-off-by: Corinna Vinschen 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)