aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-02-19 23:27:21 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-02-19 23:27:21 +0000
commite90686acb34da65ec5181ae610b414bfd085bdfb (patch)
treeb907de5ed68c5bf3f1fad3ad70b815e08378112e
parent354cdf2895da4de6b16ea011e31392c21cdc37ac (diff)
downloadcpt-e90686acb34da65ec5181ae610b414bfd085bdfb.tar.gz
kiss: Don't die when sort fails.
FossilOrigin-Name: c5d370b34caa47bdc0c5637ddbf9516543ae227251314f51adacead33c611ba1
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 9043b6c..73fa830 100755
--- a/kiss
+++ b/kiss
@@ -431,7 +431,7 @@ pkg_fixdeps() {
# Remove duplicate entries from the new depends file.
# This removes duplicate lines looking *only* at the
# first column.
- sort -uk1,1 -o depends depends -
+ sort -uk1,1 -o depends depends - 2>/dev/null ||:
# Display a 'diff' of the new dependencies against
# the old ones. '-N' treats non-existent files as blank.