mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] only ask about remove apps from a domain being remove in cli
This commit is contained in:
parent
74d956f92b
commit
fffbd2d10f
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ def domain_remove(operation_logger, domain, remove_apps=False, force=False):
|
|||
|
||||
if apps_on_that_domain:
|
||||
if remove_apps:
|
||||
if not yes:
|
||||
if msettings.get('interface') == "cli" and not force:
|
||||
answer = msignals.prompt(m18n.n('domain_remove_confirm_apps_removal',
|
||||
apps="\n".join([x[1] for x in apps_on_that_domain]),
|
||||
answers='y/N'), color="yellow")
|
||||
|
|
Loading…
Add table
Reference in a new issue