Removing a service limited to removing 1 service

before it could happen that more services were removed
This commit is contained in:
fonfon 2015-01-21 14:36:48 +00:00
parent d5d9e2df2e
commit 0b2b8ba51a

View File

@ -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):