1
1
mirror of https://github.com/jarun/nnn.git synced 2024-09-11 13:06:14 +03:00

Merge pull request #1573 from N-R-K/fix_chksum

plugins/chksum: use exit instead of return
This commit is contained in:
Arun 2023-01-27 21:03:45 +05:30 committed by GitHub
commit d4575e99c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ elif [ -n "$1" ]; then
if echo "$1" | grep -q \.${chks}$; then if echo "$1" | grep -q \.${chks}$; then
${chks}sum -c < "$1" ${chks}sum -c < "$1"
read -r _ read -r _
return exit
fi fi
done done
checksum_type checksum_type