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 command -v for Solaris command check #9

Open
mossicrue opened this issue Jun 9, 2020 · 0 comments
Open

Use command -v for Solaris command check #9

mossicrue opened this issue Jun 9, 2020 · 0 comments

Comments

@mossicrue
Copy link
Owner

From a test the usage of which return always 0 even if the command aren't present on Solaris 10.
From tests, command seems to be a better solutions to use, both on 10.x and 11.x
Eg: command -v ping return 0 while command -v non_existing_command return 1

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

No branches or pull requests

1 participant