summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/xenodm/greeter/verify.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/xenodm/greeter/verify.c b/app/xenodm/greeter/verify.c
index a2951ab7d..9fd67a38f 100644
--- a/app/xenodm/greeter/verify.c
+++ b/app/xenodm/greeter/verify.c
@@ -94,8 +94,6 @@ Verify (struct display *d, struct greet_info *greet, struct verify_info *verify)
style ? style : "default");
p = getpwnam (greet->name);
- endpwent();
-
if (!p || strlen (greet->name) == 0) {
Debug("getpwnam() failed.\n");
explicit_bzero(greet->password, strlen(greet->password));