[monkey-bubble: 65/753] *** empty log message ***



commit a17bc4a2a9a3008e448194d657f207062f7576d7
Author: Nathan Bryant <nbryant src gnome org>
Date:   Tue Feb 3 05:30:05 1998 +0000

    *** empty log message ***

 libgnome/gnome-score.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/libgnome/gnome-score.c b/libgnome/gnome-score.c
index adbfdf3..8816b57 100644
--- a/libgnome/gnome-score.c
+++ b/libgnome/gnome-score.c
@@ -210,10 +210,11 @@ drop_perms (void)
 					 * incantation will also drop the
 					 * saved gid */
    /* see if we can set it back -- if we can, saved id wasnt dropped */
-   if (!setgid (gid) && getuid())
+   if (!setgid (gid))
      {
-	g_warning ("losing saved gid implementation detected, "
-		   "get a real OS :)\n");
+	if (getuid())
+	  g_warning ("losing saved gid implementation detected, "
+		     "get a real OS :)\n");
 	setgid (getgid ());
      }
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]