[Pkg-shadow-commits] r1624 - in upstream/trunk: . src

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Tue Jan 1 23:45:44 UTC 2008


Author: nekral-guest
Date: 2008-01-01 23:45:44 +0000 (Tue, 01 Jan 2008)
New Revision: 1624

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/src/newgrp.c
Log:
Remove duplicate logging to syslog.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2008-01-01 23:35:55 UTC (rev 1623)
+++ upstream/trunk/ChangeLog	2008-01-01 23:45:44 UTC (rev 1624)
@@ -1,5 +1,9 @@
 2008-01-01  Nicolas François  <nicolas.francois at centraliens.net>
 
+	* src/newgrp.c: Remove duplicate logging to syslog.
+
+2008-01-01  Nicolas François  <nicolas.francois at centraliens.net>
+
 	* src/newgrp.c: Avoid assignments in conditionals.
 	* src/newgrp.c: Split check_perms() out of main().
 

Modified: upstream/trunk/src/newgrp.c
===================================================================
--- upstream/trunk/src/newgrp.c	2008-01-01 23:35:55 UTC (rev 1623)
+++ upstream/trunk/src/newgrp.c	2008-01-01 23:45:44 UTC (rev 1624)
@@ -447,9 +447,6 @@
 	 * will be set, and the group added to the concurrent groupset.
 	 */
 #ifdef	USE_SYSLOG
-	if (getdef_bool ("SYSLOG_SG_ENAB"))
-		SYSLOG ((LOG_INFO, "user `%s' switched to group `%s'",
-			 name, group));
 	if (getdef_bool ("SYSLOG_SG_ENAB")) {
 		char *loginname = getlogin ();
 		char *tty = ttyname (0);




More information about the Pkg-shadow-commits mailing list