about summary refs log tree commit diff
path: root/xcheckrestart
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-01-06 20:32:43 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2016-01-06 20:32:43 +0100
commit275c743c1dca6ee554ecfb5877ab87466f04d0ef (patch)
treed08a171b947af68ec3ee106149584918bddefcd6 /xcheckrestart
parent758df12b42f3b21e94fce605bd6f77269f55a0d4 (diff)
downloadxtools-275c743c1dca6ee554ecfb5877ab87466f04d0ef.tar.gz
xtools-275c743c1dca6ee554ecfb5877ab87466f04d0ef.tar.xz
xtools-275c743c1dca6ee554ecfb5877ab87466f04d0ef.zip
xcheckrestart: also ignore /var/cache/fontconfig. v0.34
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)