Commit e468451c authored by Niels Möller's avatar Niels Möller
Browse files

(main_argp_parser): Use getenv(ENV_LOGNAME), not


Rev: src/lshd.c:1.161
parent dbb27deb
......@@ -660,7 +660,7 @@ main_argp_parser(int key, char *arg, struct argp_state *state)
const char *name;
name = getenv("LOGNAME");
name = getenv(ENV_LOGNAME);
if (!name)
argp_failure(state, EXIT_FAILURE, 0,
"$LOGNAME not set in the environment.\n");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment