Skip to content

Commit

Permalink
- Fix error in uninstall when have not yet installed
Browse files Browse the repository at this point in the history
  • Loading branch information
zero88 committed Jun 15, 2021
1 parent 38ed4d9 commit 24cc83f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/python/src/client/cmd_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,8 @@ def shutdown_vpn_service(self, is_stop=True, is_disable=False, vpn_service: str
self.device.unix_service.disable(vpn_service)
if is_stop:
self.device.unix_service.stop(vpn_service)
self.storage.set_current('')
if self.is_installed(silent=True):
self.storage.set_current('')
self._cleanup_zombie_vpn(log_lvl=log_lvl)
if self.device.dns_resolver.is_connman():
self.device.ip_resolver.renew_all_ip(silent=True)
Expand Down

0 comments on commit 24cc83f

Please sign in to comment.