about summary refs log tree commit diff
path: root/xcheckrestart
diff options
context:
space:
mode:
Diffstat (limited to 'xcheckrestart')
-rwxr-xr-xxcheckrestart5
1 files changed, 4 insertions, 1 deletions
diff --git a/xcheckrestart b/xcheckrestart
index aa3b138..a5d220e 100755
--- a/xcheckrestart
+++ b/xcheckrestart
@@ -6,7 +6,10 @@ verbose=false
 
 for f in /proc/[0-9]*; do
 	LIBS=$(grep -Po '    *\K    .* \(deleted\)$' $f/maps 2>/dev/null |
-		grep -v -e /SYSV -e /.cache/fontconfig -e 'drm mm object' |
+		grep -v -e /SYSV \
+			-e /.cache/fontconfig \
+			-e /var/cache/fontconfig \
+			-e 'drm mm object' |
 	       	sort -u )
 	if [ "$LIBS" ]; then
 		EXE=$(readlink $f/exe)