Blob Blame History Raw
diff -urpN old/common-src/local-security.c new/common-src/local-security.c
--- old/common-src/local-security.c	2013-01-10 13:54:54.000000000 +0100
+++ new/common-src/local-security.c	2017-02-17 13:29:27.429117936 +0100
@@ -256,7 +256,7 @@ runlocal(
 	initgroups(CLIENT_LOGIN, gid);
     }
     if (gid != 0)
-	setregid(uid, gid);
+	setregid(gid, gid);
     if (uid != 0)
 	setreuid(uid, uid);
 #endif