Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugins/chksum: use exit instead of return #1573

Merged
merged 1 commit into from
Jan 27, 2023
Merged

Conversation

N-R-K
Copy link
Collaborator

@N-R-K N-R-K commented Jan 25, 2023

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: #1572

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: jarun#1572
@jarun jarun merged commit d4575e9 into jarun:master Jan 27, 2023
@jarun
Copy link
Owner

jarun commented Jan 27, 2023

Thank you!

@N-R-K N-R-K deleted the fix_chksum branch January 27, 2023 15:49
@github-actions github-actions bot locked and limited conversation to collaborators Feb 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chksum incorrect return
2 participants