Blame SOURCES/amanda-3.3.3-local-security-gid.patch

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