Open weicaishi opened 5 years ago
In the embedded Linux environment, the application runs automatically when it boots up, which will lead to the failure of LOGNAME acquisition.
I'm sorry, but I don't like hardcoding a user name in the library. Why don't you just set LOGNAME when starting the application? Something like
LOGNAME=root /path/to/application
In the embedded Linux environment, the application runs automatically when it boots up, which will lead to the failure of LOGNAME acquisition.