[setup - the official Cygwin setup program] branch master, updated. release_2.917

Jon TURNEY via Cygwin-apps-cvs <[email protected]>
Newsgroups gmane.os.cygwin.cvs.apps
Message-ID <[email protected]>


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

commit b41697a3adf8a0eb066be6206d7d38ee6272dfc1
Author: Jon Turney <[email protected]>
Date:   Mon Jan 24 19:19:46 2022 +0000

    Only show deprecation warning once if we're going to elevate


Diff:
---
 main.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.cc b/main.cc
index a48ee423..9d1f419d 100644
--- a/main.cc
+++ b/main.cc
@@ -339,7 +339,7 @@ WinMain (HINSTANCE h,
       }
 
     /* Warn if Windows version is deprecated for Cygwin */
-    if (!DeprecatedOption)
+    if (!DeprecatedOption && !elevate)
       {
         if
 #ifdef _X86_
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.