diff options
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 +} |