summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pykolab/logger.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/pykolab/logger.py b/pykolab/logger.py
index fc396cb..ef38f4f 100644
--- a/pykolab/logger.py
+++ b/pykolab/logger.py
@@ -142,17 +142,6 @@ class Logger(logging.Logger):
sys.exit(1)
- # Set real and effective group if not the same as current.
- if not group_gid == rgid:
- self.debug(
- _("Switching real and effective group id to %d") % (
- group_gid
- ),
- level=8
- )
-
- os.setregid(group_gid, group_gid)
-
if ruid == 0:
# Means we haven't switched yet.
try: