1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 16:40:07 -07:00

kiss: hide pointless errors from readlink

This commit is contained in:
Dylan Araps 2020-01-29 13:16:18 +02:00
parent 2a1d03e7b8
commit faab62a343
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

3
kiss
View File

@ -761,7 +761,8 @@ pkg_conflicts() {
case $file in */) continue; esac
printf '%s/%s\n' \
"$(readlink -f "$KISS_ROOT/${file%/*}")" "${file##*/}"
"$(readlink -f "$KISS_ROOT/${file%/*}" 2>/dev/null)" \
"${file##*/}"
done > "$cac_dir/$pid-m"
p_name=$2