Skip to content

Commit 486047c

Browse files
abdosiyxieca
authored andcommitted
make sure only syncd is match on pgrep
1 parent 3a87025 commit 486047c

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)