From 9dcb09580d2bbe39f1259811f316f0a668a7c2b8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 25 Jan 2018 10:56:30 +0000 Subject: [PATCH] Make an exception for prosody --- tests/check-libs-owner.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/check-libs-owner.sh b/tests/check-libs-owner.sh index b99ef1d7..fa3d1eca 100644 --- a/tests/check-libs-owner.sh +++ b/tests/check-libs-owner.sh @@ -22,7 +22,7 @@ if [ -d "/lib64" ];then fi if [ -d "/usr/lib" ];then - COUNT=$(find -L /usr/lib \! -user root -exec ls -l {} \; |wc -l) + COUNT=$(find -L /usr/lib -path /usr/lib/prosody -prune -o \! -user root -exec ls -l {} \; |wc -l) if [ $COUNT -eq 0 ];then :