diff options
Diffstat (limited to 'src/debug.c')
| -rw-r--r-- | src/debug.c | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/src/debug.c b/src/debug.c index d3fce779..1471ff24 100644 --- a/src/debug.c +++ b/src/debug.c @@ -131,7 +131,11 @@ debug_init (void)  	  if (s1)  	    {  #ifndef HAVE_DOSISH_SYSTEM -	      if (getuid () == geteuid ()) +	      if (getuid () == geteuid () +#if defined(HAVE_GETGID) && defined(HAVE_GETEGID) +                  && getgid () == getegid () +#endif +                  )  		{  #endif  		  char *p;  | 
