Use LOGNAME instead of USER

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