Fix system-audit ignoring symbolic links
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
41ab4ec679
commit
fffc3f7412
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ function collect_hashes {
|
|||
continue
|
||||
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
|
||||
|
||||
if [ -e ${target} ]; then
|
||||
|
|
Loading…
Reference in a new issue