Skip to content

Commit

Permalink
Fix service.exists
Browse files Browse the repository at this point in the history
  • Loading branch information
sblaisot authored and philpep committed May 26, 2024
1 parent f8b756a commit 85f027b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testinfra/modules/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def _has_systemd_suffix(self):

@property
def exists(self):
cmd = self.run_test('systemctl list-unit-files | grep -q"^%s"', self.name)
cmd = self.run_test('systemctl list-unit-files | grep -q "^%s"', self.name)
return cmd.rc == 0

@property
Expand Down

0 comments on commit 85f027b

Please sign in to comment.