diff options
-rw-r--r-- | env.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -107,6 +107,8 @@ void envquery(int argc, char **argv) user = xstrdup(pwp->pw_name); } + endpwent(); + /* compute user's home directory */ home = getenv("HOME_ETC"); if (!home && !(home = getenv("HOME"))) |