nushell
This commit is contained in:
parent
6237bf055f
commit
e9dc2f3189
2 changed files with 5 additions and 5 deletions
|
|
@ -83,7 +83,7 @@ def check-mullvad [] {
|
|||
loop {
|
||||
print "checking connection status"
|
||||
http get https://am.i.mullvad.net/json
|
||||
| if $in.mullvad_exit_ip == true {break}
|
||||
| if $in.mullvad_exit_ip == true {break} else {print $in}
|
||||
sleep 1sec
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue