mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
Removing a service limited to removing 1 service
before it could happen that more services were removed
This commit is contained in:
parent
d5d9e2df2e
commit
0b2b8ba51a
@ -204,6 +204,8 @@ def subcommand_remove_service(arguments):
|
||||
if service_found:
|
||||
with open(filepath, 'w') as file:
|
||||
file.writelines(lines)
|
||||
# abort to only allow deleting one service
|
||||
break
|
||||
|
||||
|
||||
def get_existing_service_paths(service):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user