diff options
author | Leah Neukirchen <leah@vuxu.org> | 2023-06-08 13:12:33 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2023-06-08 13:14:08 +0200 |
commit | c41f36d4f5153956f97bce655e94c45168cbc941 (patch) | |
tree | 40ee803415ff884587d60ae233e2a28b0df3f1cb /xcheckrestart | |
parent | e3b12cbffe3fdcdf7fe355f2bcb70ab5a0c50f38 (diff) | |
download | xtools-c41f36d4f5153956f97bce655e94c45168cbc941.tar.gz xtools-c41f36d4f5153956f97bce655e94c45168cbc941.tar.xz xtools-c41f36d4f5153956f97bce655e94c45168cbc941.zip |
xcheckrestart: only scan private maps
Fixes #252.
Diffstat (limited to 'xcheckrestart')
-rwxr-xr-x | xcheckrestart | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xcheckrestart b/xcheckrestart index 76de622..1e26318 100755 --- a/xcheckrestart +++ b/xcheckrestart @@ -5,7 +5,7 @@ verbose=false [ "$1" = -v ] && verbose=true for f in /proc/[0-9]*; do - LIBS=$(grep -Po ' *\K .* \(deleted\)$' $f/maps 2>/dev/null | + LIBS=$(grep -Po ' [r-][w-][x-]p .* *\K .* \(deleted\)$' $f/maps 2>/dev/null | grep -v -e /SYSV \ -e /.cache/fontconfig \ -e /var/cache/fontconfig \ |