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

printf errors can cause status 1, rather than being fatal #2114

Open
andychu opened this issue Oct 29, 2024 · 2 comments
Open

printf errors can cause status 1, rather than being fatal #2114

andychu opened this issue Oct 29, 2024 · 2 comments

Comments

@andychu
Copy link
Contributor

andychu commented Oct 29, 2024

mentioned on

andychu pushed a commit that referenced this issue Oct 29, 2024
This is more consistent with dash and mksh.

Some shells just print an error to stderr, while exiting 0, which is bad
IMO.

This is issue #2114.
@andychu
Copy link
Contributor Author

andychu commented Oct 29, 2024

@ale5000-git This is now fixed - the printf errors are non-fatal. Thanks for the feedback

(Some shells printf a message to stderr, but exit 0. Some exit 1. OSH exits 1).

@ale5000-git
Copy link

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants