Skip to content

Commit

Permalink
fixup! Check if all required services are startable, not just exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Sandakov committed Mar 20, 2024
1 parent cf3cde9 commit df812e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/systemd.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def is_service_startable(service: str, already_checked: typing.Set[str] = None)
required_services = get_required_services(service)
for required_service in required_services:
if not is_service_startable(required_service, already_checked):
log.debug(f"Service '{service}' can't be started because required service '{required_service}' doesn't exist")
log.debug(f"Service '{service}' can't be started because required service '{required_service}' doesn't startable")
return False
return True

Expand Down

0 comments on commit df812e3

Please sign in to comment.