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:
commit
d4575e99c8
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user