Remove duplicate logging to syslog.

This commit is contained in:
nekral-guest
2008-01-01 23:45:44 +00:00
parent d590d0ccee
commit 1ff4e28748
2 changed files with 4 additions and 3 deletions

View 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);