Skip to content

Commit 8155242

Browse files
sblaisotphilpep
authored andcommitted
Fix service.exists
1 parent f8b756a commit 8155242

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testinfra/modules/service.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def _has_systemd_suffix(self):
176176

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

182182
@property

0 commit comments

Comments
 (0)