Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In the embedded Linux environment, the application runs automatically… #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

weicaishi
Copy link

In the embedded Linux environment, the application runs automatically when it boots up, which will lead to the failure of LOGNAME acquisition.

… when it boots up, which will lead to the failure of LOGNAME acquisition.
@j0r1
Copy link
Owner

j0r1 commented Dec 14, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants