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-11-23 21:51:06 +0100 |
commit | d6c712d1b127d018c829b0b006fd94749916fb7d (patch) | |
tree | adadcde56e0178d83bca1a25ade24b921d670773 /pkg/vpn/status.go | |
parent | 9413b50cba3d8b4c9a8b6474729483b775aa5619 (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 +} |