Fix system-audit ignoring symbolic links

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-11-23 14:46:24 +01:00
parent 41ab4ec679
commit fffc3f7412
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -15,7 +15,7 @@ function collect_hashes {
continue continue
fi fi
find ${dir} -type f -print0 | xargs -0 shasum -a 512 >> ${target} find ${dir} -mindepth 1 \( -type f -or -type l \) -print0 | xargs -0 shasum -a 512 >> ${target}
done done
if [ -e ${target} ]; then if [ -e ${target} ]; then