Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

get.pow.cx self-test does not reload the network configuration #526

Open
mattscilipoti opened this issue Mar 17, 2016 · 0 comments
Open

Comments

@mattscilipoti
Copy link

According to the comments, if the first check_domains fails, it is supposed to reload the network configuration and try again. On my system, reload_network_configuration exits immediately due to a guard clause [ "$MAC_OS_MINOR_VERSION" -lt 10 ] || return. Is that expected?

I don't know much about this area. My hypothesis is that each OS X version has a different way of reloading the network configuration. Should this code be updated to use a different method for each OS X version?

OSX 10.11.3
pow.cx 0.5.0

check_domains || {
  { reload_network_configuration && check_domains; } || {
    echo "!!! Couldn't resolve configured domains ($POW_DOMAINS)"
    print_troubleshooting_instructions
    exit 1
  }
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant