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

Use exit code instead of command output to check if command exists #5

Merged
merged 2 commits into from
Sep 7, 2023

Conversation

perrylets
Copy link
Owner

@perrylets perrylets commented Sep 7, 2023

Now to check if a command exists, it's just one shell command instead of if statements and AND_IFs.

@perrylets perrylets marked this pull request as ready for review September 7, 2023 03:50
@perrylets perrylets merged commit 579f082 into main Sep 7, 2023
2 checks passed
@perrylets perrylets deleted the exit-code branch September 7, 2023 03:50
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.

1 participant