commit 9d284e66e0fede3868e0bfbe82153a60e55a229f
parent c36f27048c456e6f716ac48ec50ca23bca1618cb
Author: Dylan Araps <dylan.araps@gmail.com>
Date: Thu, 20 Feb 2020 01:27:22 +0200
kiss: Don't die when sort fails.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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.