Commit 743d372d authored by Lubomir Rintel's avatar Lubomir Rintel 🥕
Browse files

libnm/vpn-service-plugin: transition to STOPPED state from INIT too

We may want to stop the plugin before we started connecting e.g. when the
plugin NeedsSecrets but we can't supply them.
parent 7729d85c
......@@ -225,6 +225,7 @@ nm_vpn_service_plugin_disconnect (NMVpnServicePlugin *plugin, GError **err)
break;
case NM_VPN_SERVICE_STATE_INIT:
ret = TRUE;
nm_vpn_service_plugin_set_state (plugin, NM_VPN_SERVICE_STATE_STOPPED);
break;
default:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment