URI: 
       tDo nothing if we're not running setgid/uid - vaccinewars - be a doctor and try to vaccinate the world
  HTML git clone git://src.adamsgaard.dk/vaccinewars
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 5bbdb7e759d610f6708356a3dc6a824984b5af25
   DIR parent 5108d0b047eeab85cc782da201d59b6ff04b5902
  HTML Author: Ben Webb <ben@salilab.org>
       Date:   Sat, 31 Oct 2020 23:01:07 -0700
       
       Do nothing if we're not running setgid/uid
       
       Diffstat:
         M src/serverside.c                    |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/src/serverside.c b/src/serverside.c
       t@@ -1835,6 +1835,8 @@ void CloseHighScoreFile()
         */
        void DropPrivileges()
        {
       +  if (issetugid() == 0) return;
       +
        #ifndef CYGWIN
          /* Ignore the return from setregid; we'll check it ourselves to be sure
           * (this avoids problems when running under fakeroot) */