nushel
This commit is contained in:
parent
3ebbaf2800
commit
2e083df68e
6 changed files with 1306 additions and 132 deletions
|
|
@ -71,7 +71,8 @@ alias gc = nh clean all
|
|||
|
||||
def check-mullvad [] {
|
||||
$env.LAST_EXIT_CODE = 69
|
||||
if $env.LAST_EXIT_CODE != 0 {
|
||||
while $env.LAST_EXIT_CODE != 0 {
|
||||
print "checking connection status"
|
||||
http get https://am.i.mullvad.net/json
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue