Skip to content

Commit

Permalink
fixup! fixup! fixup! Check if all required services are startable, no…
Browse files Browse the repository at this point in the history
…t just exists
  • Loading branch information
Mikhail Sandakov committed Mar 20, 2024
1 parent 35ec48c commit 4508ae3
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 @@ -33,7 +33,7 @@ def get_required_services(service: str) -> typing.List[str]:
universal_newlines=True
)

required_services = res.stdout.split('s=')[1].split()
required_services = [service in service from res.stdout.split('s=')[1].split() if '.service' in service]
return required_services


Expand Down

0 comments on commit 4508ae3

Please sign in to comment.