diff --git a/pym/cl_client.py b/pym/cl_client.py index 602bc5a..c84e8e6 100644 --- a/pym/cl_client.py +++ b/pym/cl_client.py @@ -385,6 +385,9 @@ calculate-server"), # Создаем пользовательскую директорию homeDir = os.path.join("/home",self.userName) self.clVars.Set('cl_root_path',homeDir,True) + if not os.path.exists(homeDir) and os.listdir(homeDir): + self.printWarning(_("home dir %s exists")%homeDir) + return True if not os.path.exists(homeDir): self.createUserDir(uid, gid, homeDir) # Записываем переменную логин