summaryrefslogtreecommitdiff
path: root/greeter
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2016-11-06 10:17:39 +0000
committerMatthieu Herrb <matthieu@herrb.eu>2020-07-14 15:52:35 +0200
commit87e6642de9b988641dc2dba6d107eaec808a1379 (patch)
treec5c96f18d891e2a3d5dc80abd997d625b4157671 /greeter
parent5eefdec0057f0f057773e1a4ab3e34d72c269586 (diff)
Remove useless endpwent() calls
Diffstat (limited to 'greeter')
-rw-r--r--greeter/verify.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/greeter/verify.c b/greeter/verify.c
index 686aae2..4c4a84c 100644
--- a/greeter/verify.c
+++ b/greeter/verify.c
@@ -214,7 +214,6 @@ autoLoginEnv(struct display *d, struct verify_info *verify,
Debug("Autologin %s\n", d->autoLogin);
p = getpwnam (d->autoLogin);
- endpwent();
if (p == NULL)
return 0;