diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-01-29 11:16:18 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-01-29 11:16:18 +0000 |
commit | f2b94f2e6e0b34682875fc4fc63d5c39843977d9 (patch) | |
tree | 73cabaeded922c0383abd96b546f91f00f3d5a8a /kiss | |
parent | b50551793e9926dd4c53725b872291a97cf82730 (diff) | |
download | cpt-f2b94f2e6e0b34682875fc4fc63d5c39843977d9.tar.gz |
kiss: hide pointless errors from readlink
FossilOrigin-Name: b49ae0d171e6bb25f4168f5bf86fb6a8b19eef6e767e1633c39cf5d7bd28edd4
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |