Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix getting ppid in get_process_ttyname for Linux.
The ppid field in /proc/self/stat is the fourth and not the third. The latter is the process state (S, R, etc.). Signed-off-by: Ignacy Gawędzki <[email protected]>
- Loading branch information