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

Add /usr/local/sbin to list of fallback PATHs #9

Closed
dpb587 opened this issue Jan 12, 2019 · 0 comments
Closed

Add /usr/local/sbin to list of fallback PATHs #9

dpb587 opened this issue Jan 12, 2019 · 0 comments

Comments

@dpb587
Copy link
Owner

dpb587 commented Jan 12, 2019

When executing openvpn it first searches PATH, then falls back to some OS-specific locations for finding the binary if it’s not found. Since /usr/local/sbin is not typically on a user’s default PATH, add it to the list of manual fallback paths (example).

Also, add a warning to output when a fallback path is used to more clearly surface this behavior to users in case they care.

Consider adding a flag to allow a user to disable the fallback behavior, in general?

@dpb587 dpb587 closed this as completed in 3d712fe Jan 16, 2019
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