Skip to content

Commit 90351bb

Browse files
authored
make sure only syncd is match on pgrep
1 parent 0ec2bb9 commit 90351bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ansible/roles/test/tasks/restart_syncd.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
seconds: 10
1616

1717
- name: Look for syncd process
18-
shell: pgrep "\<syncd\>" -a
18+
shell: pgrep syncd -a -x
1919
register: syncd_out
2020
ignore_errors: yes
2121

0 commit comments

Comments
 (0)