kiss: Drop final touch

This commit is contained in:
Dylan Araps 2020-05-25 19:16:16 +03:00
parent 1741a04968
commit 259a2e9f2b
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 3 additions and 1 deletions

4
kiss
View File

@ -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