]> granicus.if.org Git - shadow/commitdiff
Remove duplicate logging to syslog.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 1 Jan 2008 23:45:44 +0000 (23:45 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 1 Jan 2008 23:45:44 +0000 (23:45 +0000)
ChangeLog
src/newgrp.c

index cbd4737b7fa4f9156ef5aeb13f0f85ac4aad26fb..8e4a3d89715aded00293c4caf8d4d9cff8665c92 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/newgrp.c: Remove duplicate logging to syslog.
+
 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
 
        * src/newgrp.c: Avoid assignments in conditionals.
index d1e0cff3675acff3cbe612288b901c65dc13358a..8e3e926bfb27753c8ffda30acdacf3d81b553b18 100644 (file)
@@ -447,9 +447,6 @@ int main (int argc, char **argv)
         * 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);