diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-09-17 19:50:17 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-10-06 18:38:22 +0200 |
commit | ad5f4245ea2874fd8b6eb56691857c69cdf9860d (patch) | |
tree | 99b55fd3b12a9cc32148018eea37349c1964d4dc /pkg/vpn/status.go | |
parent | 77c518c638f67a2fa38187ef2b29856aab82472c (diff) |
[ui] track failed state
Diffstat (limited to 'pkg/vpn/status.go')
-rw-r--r-- | pkg/vpn/status.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/vpn/status.go b/pkg/vpn/status.go index 88735e6..692bf09 100644 --- a/pkg/vpn/status.go +++ b/pkg/vpn/status.go @@ -125,3 +125,7 @@ func (b *Bitmask) getOpenvpnState() (string, error) { } return status, nil } + +func (b *Bitmask) isFailed() bool { + return b.launch.failed +} |