mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-23 23:50:05 -07:00
kiss: Fix syntax error
This commit is contained in:
parent
16b2e1be75
commit
10c61c7dfc
2
kiss
2
kiss
@ -115,7 +115,7 @@ sh256() {
|
|||||||
# Example: '<checksum> <file>'
|
# Example: '<checksum> <file>'
|
||||||
|
|
||||||
# Skip non-files and broken symlinks.
|
# Skip non-files and broken symlinks.
|
||||||
if { [ -h "$1" ] && [ -e "$1" ] } || [ -f "$1" ]; then
|
if { [ -h "$1" ] && [ -e "$1" ]; } || [ -f "$1" ]; then
|
||||||
hash=$(
|
hash=$(
|
||||||
sha256sum "$1" ||
|
sha256sum "$1" ||
|
||||||
sha256 -r "$1" ||
|
sha256 -r "$1" ||
|
||||||
|
Loading…
Reference in New Issue
Block a user