We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ce44a4 commit e8c2925Copy full SHA for e8c2925
lazy-connect.sh
@@ -154,9 +154,8 @@ function _lazy_disconnect() {
154
end disconnectVpn
155
156
disconnectVpn("$vpn_name")
157
- sed "/Connect ${vpn_name}/d" $_lazy_connect_config_dir/vpns
158
- sed "/Disconnect ${vpn_name}/d" $_lazy_connect_config_dir/connected_vpns | sort -u
159
EOF
+ sed "/Disconnect ${vpn_name}/d" $_lazy_connect_config_dir/connected_vpns | sort -u > $_lazy_connect_config_dir/connected_vpns
160
}
161
162
function _lazy_connect_update() {
0 commit comments