about summary refs log tree commit diff
path: root/xcheckrestart
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2023-06-08 13:12:33 +0200
committerLeah Neukirchen <leah@vuxu.org>2023-06-08 13:14:08 +0200
commitc41f36d4f5153956f97bce655e94c45168cbc941 (patch)
tree40ee803415ff884587d60ae233e2a28b0df3f1cb /xcheckrestart
parente3b12cbffe3fdcdf7fe355f2bcb70ab5a0c50f38 (diff)
downloadxtools-c41f36d4f5153956f97bce655e94c45168cbc941.tar.gz
xtools-c41f36d4f5153956f97bce655e94c45168cbc941.tar.xz
xtools-c41f36d4f5153956f97bce655e94c45168cbc941.zip
xcheckrestart: only scan private maps
Fixes #252.
Diffstat (limited to 'xcheckrestart')
-rwxr-xr-xxcheckrestart2
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 \