From 1ff4e287485df67c9953a9f521b1570def586a4c Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Tue, 1 Jan 2008 23:45:44 +0000 Subject: [PATCH] Remove duplicate logging to syslog. --- ChangeLog | 4 ++++ src/newgrp.c | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index cbd4737b..8e4a3d89 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-01 Nicolas François + + * src/newgrp.c: Remove duplicate logging to syslog. + 2008-01-01 Nicolas François * src/newgrp.c: Avoid assignments in conditionals. diff --git a/src/newgrp.c b/src/newgrp.c index d1e0cff3..8e3e926b 100644 --- a/src/newgrp.c +++ b/src/newgrp.c @@ -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); -- 2.40.0