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

Get-PreferredIPAddress MacOS fix. #185

Merged
merged 2 commits into from
Feb 2, 2024

Conversation

dwhite9
Copy link
Contributor

@dwhite9 dwhite9 commented Feb 2, 2024

reverted bash -c option in favor of switching to using full binary paths to prevent "command not found" error from occurring when pulling IP information from MacOS.

Tested on MacOS:

Version: 13.2.1
Build: 22D68

dwhite9 added 2 commits January 31, 2024 20:07
that ifconfig does not exist. This is not reproducable via pwsh cli as
it works as expected. The error only occurs when running it via the pwsh
function with the runner framework.
@cyberbuff cyberbuff merged commit d2051d7 into redcanaryco:master Feb 2, 2024
4 checks passed
@dwhite9 dwhite9 deleted the fix-get-ip-macos branch February 2, 2024 22:23
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.

2 participants