Index: bin/misc-functions.sh =================================================================== --- bin/misc-functions.sh (revision 9355) +++ bin/misc-functions.sh (revision 9356) @@ -468,7 +468,7 @@ vecho ">>> Performing suid scan in ${D}" for i in $(find "${D}" -type f \( -perm -4000 -o -perm -2000 \) ); do if [ -s "${sfconf}" ]; then - suid="$(grep "^${i/${D}}$" "${sfconf}")" + suid="$(grep "^/${i#${D}}$" "${sfconf}")" if [ "${suid}" = "${i/${D}}" ]; then vecho "- ${i/${D}} is an approved suid file" else