Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

comment out function endgrent() because it will cause undefined refer…

…ence error
  • Loading branch information...
commit 74d8ec899cdea127a58fda1aebdf26cc02f79a7a 1 parent 3255603
Botao Sun authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  libbb/change_identity.c
2  libbb/change_identity.c
View
@@ -35,7 +35,7 @@ void FAST_FUNC change_identity(const struct passwd *pw)
{
if (initgroups(pw->pw_name, pw->pw_gid) == -1)
bb_perror_msg_and_die("can't set groups");
- endgrent(); /* helps to close a fd used internally by libc */
+ // endgrent(); /* helps to close a fd used internally by libc */
xsetgid(pw->pw_gid);
xsetuid(pw->pw_uid);
}
Please sign in to comment.
Something went wrong with that request. Please try again.