]> Sergey Matveev's repositories - nnn.git/commit
plugins/chksum: use exit instead of return
authorNRK <nrk@disroot.org>
Wed, 25 Jan 2023 19:07:08 +0000 (01:07 +0600)
committerNRK <nrk@disroot.org>
Wed, 25 Jan 2023 19:21:40 +0000 (01:21 +0600)
commitca8fcf454a30b20a6c7ecd4a8dee6ecf8f6349a7
tree698e3911722b35b95f9708c28d9094cec13b0649
parent12aedd521d95d36d14eebf359a1df12190604d0a
plugins/chksum: use exit instead of return

From https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_24:

| The return utility shall cause the shell to stop executing the current
| function or dot script. If the shell is not currently executing a
| function or dot script, the results are unspecified.

Closes: https://github.com/jarun/nnn/issues/1572
plugins/chksum