]> cygwin.com Git - cygwin-apps/setup.git/blobdiff - main.cc
2003-02-16 Pavel Tsekov <ptsekov@gmx.net>
[cygwin-apps/setup.git] / main.cc
diff --git a/main.cc b/main.cc
index 5be956cab25c18521b50f452cd1fcad568949aa6..cb6a8c7146d3bd74ec7019416be118116648eafa 100644 (file)
--- a/main.cc
+++ b/main.cc
@@ -234,9 +234,15 @@ set_default_sec ()
       /* Set the default group to one of the above computed SID. */
       PSID nsid = NULL;
       if (isusers)
+      {
        nsid = usid;
+       log(LOG_TIMESTAMP) << "Changing gid to Users" << endLog;
+      }
       else if (isadmins)
+      {
        nsid = asid;
+       log(LOG_TIMESTAMP) << "Changing gid to Administrators" << endLog;
+      }
       if (nsid && !SetTokenInformation (token, TokenPrimaryGroup, &nsid, sizeof nsid))
        log (LOG_TIMESTAMP) << "SetTokenInformation() failed: " << 
          GetLastError () << endLog;
This page took 0.021909 seconds and 5 git commands to generate.