kiss: correct redirection

This commit is contained in:
Dylan Araps 2021-07-05 15:13:06 +03:00
parent b674becc82
commit 94216812c3
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

2
kiss
View File

@ -1133,7 +1133,7 @@ pkg_etc() (
{ sh256 "$file"; sum_new=$hash { sh256 "$file"; sum_new=$hash
sh256 "$KISS_ROOT/$file"; sum_sys=$hash sh256 "$KISS_ROOT/$file"; sum_sys=$hash
sum_old=$(awk "NR == $i" "$mak_dir/c"); } 2>/dev/null || : sum_old=$(awk "NR == $i" "$mak_dir/c"); } >/dev/null 2>&1 || :
log "$pkg_name" "Doing 3-way handshake for $file" log "$pkg_name" "Doing 3-way handshake for $file"
printf '%s\n' "Previous: ${sum_old:-null}" printf '%s\n' "Previous: ${sum_old:-null}"