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

Bring back --strict action functionality + keep exit code #5

Merged
merged 2 commits into from
Feb 15, 2022

Conversation

T2L
Copy link
Contributor

@T2L T2L commented Feb 14, 2022

Changes here:

  • do not exit too early (move set -e a bit lower)
  • exit with a non-zero code when asked too (bring back --strict)
  • run using /bin/bash instead of /bin/sh so echo -n can be used, which omits printing the new line character
  • use echo -n for result assignment => no new line
  • return exit code

@IonBazan
Copy link
Owner

This amazing, thanks for your help @T2L!

@IonBazan IonBazan merged commit a01964b into IonBazan:master Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants