]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-program-client: Remove extra drop_setuid_root flag copy
authorMartti Rannanjärvi <martti.rannanjarvi@dovecot.fi>
Mon, 18 Dec 2017 10:44:14 +0000 (12:44 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 12 Feb 2018 15:00:14 +0000 (17:00 +0200)
src/lib-program-client/program-client-local.c

index f1ea7cd7670e24a6c3f786562d12a75be78d9512..c20686af4d9738f919b9c5a180251b1b20708b50 100644 (file)
@@ -235,9 +235,6 @@ int program_client_local_connect(struct program_client *pclient)
 
                /* if we want to allow root, then we will not drop
                   root privileges */
-               pclient->set.restrict_set.drop_setuid_root =
-                       !pclient->set.allow_root;
-
                restrict_access(&pclient->set.restrict_set, pclient->set.home,
                                !pclient->set.allow_root);