Don't check daemons which link to /dev/null
This commit is contained in:
parent
41fbe7a9dc
commit
2475813aa0
|
@ -2,7 +2,7 @@
|
|||
|
||||
if [ -d "/lib" ];then
|
||||
|
||||
COUNT=$(find -L /lib \! -user root -exec ls -l {} \; |wc -l)
|
||||
COUNT=$(find -L /lib \! -user root -exec ls -l {} \; | grep -v '> /dev/null' | wc -l)
|
||||
|
||||
if [ $COUNT -eq 0 ];then
|
||||
:
|
||||
|
@ -40,4 +40,3 @@ if [ -d "/usr/lib64" ];then
|
|||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue