kiss: Fix syntax error

This commit is contained in:
Dylan Araps 2020-11-25 08:50:40 +02:00
parent 16b2e1be75
commit 10c61c7dfc
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 1 deletions

2
kiss
View File

@ -115,7 +115,7 @@ sh256() {
# Example: '<checksum> <file>'
# Skip non-files and broken symlinks.
if { [ -h "$1" ] && [ -e "$1" ] } || [ -f "$1" ]; then
if { [ -h "$1" ] && [ -e "$1" ]; } || [ -f "$1" ]; then
hash=$(
sha256sum "$1" ||
sha256 -r "$1" ||