Skip to content
This repository was archived by the owner on Apr 24, 2020. It is now read-only.

Conversation

@goddessfreya
Copy link
Contributor

When started in the tty, powerline9k tries to open the stat file of the
login process. Because the login process belongs to root, it's
existence is hidden from non-privileged users. This will result in an
error like
__p9k_detect_terminal:27: no such file or directory: /proc/3434/stat.

Like #1336, this error appears to be ultimately harmless, but never the less annoying.

Signed-off-by: Hal Gentz [email protected]

When started in the tty, powerline9k tries to open the stat file of the
`login` process. Because the `login` process belongs to root, it's
existence is hidden from non-privileged users. This will result in an
error like
`__p9k_detect_terminal:27: no such file or directory: /proc/3434/stat`.

Signed-off-by: Hal Gentz <[email protected]>
@goddessfreya goddessfreya changed the title [Bugfix] Pid fix [Bugfix] Fix failed attempt to open proc files while lacking permission. Jul 31, 2019
@goddessfreya
Copy link
Contributor Author

ping @dritter

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant