aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-29 11:16:18 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-29 11:16:18 +0000
commitf2b94f2e6e0b34682875fc4fc63d5c39843977d9 (patch)
tree73cabaeded922c0383abd96b546f91f00f3d5a8a /kiss
parentb50551793e9926dd4c53725b872291a97cf82730 (diff)
downloadcpt-f2b94f2e6e0b34682875fc4fc63d5c39843977d9.tar.gz
kiss: hide pointless errors from readlink
FossilOrigin-Name: b49ae0d171e6bb25f4168f5bf86fb6a8b19eef6e767e1633c39cf5d7bd28edd4
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss3
1 files changed, 2 insertions, 1 deletions
diff --git a/kiss b/kiss
index 447dcc3..c08dd9e 100755
--- a/kiss
+++ b/kiss
@@ -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