Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gamemodelist: Fix unreadable process maps
Systemd commit [bf1b9ae487b65b1cb1639b222724fab95e508cf5](systemd/systemd@bf1b9ae) (present in Systemd v254 and later) effectively broke gamemodelist as the process map for the `systemd --user` process became unreadable. After this change gamemodelist would exit with an error like the following: ``` awk: fatal: cannot open file `/proc/2281/maps' for reading: Permission denied ``` To work around this let's add a hook to the awk statement to skip any files that can't be read. Closes #456
- Loading branch information