mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] oops ™
This commit is contained in:
parent
f52b805bf4
commit
794bc25887
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ def domain_remove(auth, domain, force=False):
|
|||
m18n.n('domain_uninstall_app_first'))
|
||||
|
||||
if auth.remove('virtualdomain=' + domain + ',ou=domains') or force:
|
||||
shutil.rmtree('rm -rf /etc/yunohost/certs/%s' % domain)
|
||||
shutil.rmtree('/etc/yunohost/certs/%s' % domain)
|
||||
else:
|
||||
raise MoulinetteError(errno.EIO, m18n.n('domain_deletion_failed'))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue