Skip to content

Commit

Permalink
fixup! fixup! Check if all required services are startable, not just …
Browse files Browse the repository at this point in the history
…exists
  • Loading branch information
Mikhail Sandakov committed Mar 20, 2024
1 parent df812e3 commit 35ec48c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/systemd.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def get_required_services(service: str) -> typing.List[str]:

def is_service_startable(service: str, already_checked: typing.Set[str] = None) -> bool:
if not is_service_exists(service):
log.debug(f"Service '{service}' not exists")
return False

if already_checked is not None and service in already_checked:
Expand Down

0 comments on commit 35ec48c

Please sign in to comment.