about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 \