Skip to content

Commit

Permalink
lib-program-client: Remove extra drop_setuid_root flag copy
Browse files Browse the repository at this point in the history
  • Loading branch information
mrannanj authored and sirainen committed Feb 12, 2018
1 parent 2e5c593 commit 2e30827
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lib-program-client/program-client-local.c
Expand Up @@ -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);

Expand Down

0 comments on commit 2e30827

Please sign in to comment.