commit | b4aee539dfb5268944cdbb0747a746bcf23b65d8 | [log] [tgz] |
---|---|---|
author | Joey Armstrong <joey@opennetworking.org> | Thu Sep 07 17:52:32 2023 -0400 |
committer | Joey Armstrong <joey@opennetworking.org> | Thu Sep 07 17:52:32 2023 -0400 |
tree | b0e433b2a998f6d76ac8464451271c79681371f1 | |
parent | 6be119981052c83d749a6ab63edc2f1adaf75387 [diff] [blame] |
Suffix ||true so pgrep will not croak on lack of processes Change-Id: I83d03646e54e25c33e73e399a73bdd490cca0fb7
diff --git a/vars/pgrep_port_forward.groovy b/vars/pgrep_port_forward.groovy index 0862aef..78ce5a7 100644 --- a/vars/pgrep_port_forward.groovy +++ b/vars/pgrep_port_forward.groovy
@@ -75,7 +75,7 @@ // but logic is prone to exception so (YUCK!) hardcode for now. script : """ -pgrep --uid \$(uid -u) --list-full --full 'port-forw' +pgrep --uid \$(uid -u) --list-full --full 'port-forw' || true """, ) return(ans)