Commit 3feecf82 authored by unknown's avatar unknown

Use LOGNAME instead of USER

parent c47ec308
......@@ -347,7 +347,7 @@ parse_args(int argc, const char** argv){
return false;
}
g_default_user = strdup(getenv("USER"));
g_default_user = strdup(getenv("LOGNAME"));
return true;
}
......
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