Browse Source
LOGNAME
Signed-off-by: crueter <crueter@eden-emu.dev>
pull/3021/head
crueter
3 months ago
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
1 changed files with
3 additions and
0 deletions
-
src/common/logging/backend.cpp
|
|
@ -116,6 +116,9 @@ public: |
|
|
if (s == nullptr) |
|
|
if (s == nullptr) |
|
|
s = getenv("USERNAME"); |
|
|
s = getenv("USERNAME"); |
|
|
|
|
|
|
|
|
|
|
|
if (s == nullptr) |
|
|
|
|
|
s = getenv("LOGNAME"); |
|
|
|
|
|
|
|
|
if (s == nullptr) |
|
|
if (s == nullptr) |
|
|
return ""; |
|
|
return ""; |
|
|
|
|
|
|
|
|
|