diff options
-rw-r--r-- | vpn/plugins/vpn.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vpn/plugins/vpn.c b/vpn/plugins/vpn.c index 3b0fd3a6..df030b01 100644 --- a/vpn/plugins/vpn.c +++ b/vpn/plugins/vpn.c @@ -159,6 +159,8 @@ vpn_exit: ret = VPN_PROVIDER_ERROR_UNKNOWN; vpn_provider_indicate_error(provider, ret); + + vpn_provider_set_state(provider, VPN_PROVIDER_STATE_FAILURE); } else vpn_provider_set_state(provider, VPN_PROVIDER_STATE_IDLE); |