Eliminate xargs in favor of find -exec {} +
This commit is contained in:
parent
e0a189d4ba
commit
1c5bd932f1
@ -46,8 +46,7 @@ case "$daily_status_security_chksetuid_enable" in
|
||||
MP=`mount -t ufs,zfs | awk '$0 !~ /no(suid|exec)/ { print $3 }'`
|
||||
find -sx $MP /dev/null -type f \
|
||||
\( -perm -u+x -or -perm -g+x -or -perm -o+x \) \
|
||||
\( -perm -u+s -or -perm -g+s \) -print0 |
|
||||
xargs -0 ls -liTd |
|
||||
\( -perm -u+s -or -perm -g+s \) -exec ls -liTd \{\} \+ |
|
||||
check_diff setuid - "${host} setuid diffs:"
|
||||
rc=$?
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user