diff --git a/pym/client/client.py b/pym/client/client.py index 81e614a..90ee1f6 100644 --- a/pym/client/client.py +++ b/pym/client/client.py @@ -978,6 +978,8 @@ class Client(commandServer, encrypt, Desktop): def umountPath(self, upath): if upath and not self.umountSleepPath(upath): return False + if os.path.exists(upath): + os.rmdir(upath) return True def getDefaultRunlevelDaemons(self): diff --git a/pym/client/utils/cl_client_sync.py b/pym/client/utils/cl_client_sync.py index ca80cd2..08bb4c8 100644 --- a/pym/client/utils/cl_client_sync.py +++ b/pym/client/utils/cl_client_sync.py @@ -242,7 +242,6 @@ class ClClientSyncLoginAction(Action): }, # отключить удалённый профиль {'name': 'domain_sync:umount_unix', - 'message': 'Umount {cl_client_user_mount_unix_path}', 'method': 'Client.umountPath(cl_client_user_mount_unix_path)', 'depend': Tasks.hasnot('failed') },