From 259a2e9f2b2ae80fbf9158cad8fb7b78490cb1d6 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 25 May 2020 19:16:16 +0300 Subject: [PATCH] kiss: Drop final touch --- kiss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kiss b/kiss index 3ff4653..908fe5e 100755 --- a/kiss +++ b/kiss @@ -1435,9 +1435,11 @@ args() { continue } + # False positive ('>> file' with no command). + # shellcheck disable=2188 pkg_checksums "$pkg" | - if touch "$repo_dir/checksums" 2>/dev/null; then + if 2>/dev/null >> "$repo_dir/checksums"; then tee "$repo_dir/checksums" else