jolly has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43498?usp=email )
Change subject: IPAd: Run pkill with exact binary name ......................................................................
IPAd: Run pkill with exact binary name
To prevent killing other processes that include "onomondo-ipa" within their path, use "pkill -x onomondo-ipa" to kill only the binary with that name.
Related: SYS#8101 Change-Id: Ib858ef20e36daefd51b01c68c886a57e053a9a1b --- M library/PIPEasp_Templates.ttcn 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: osmith: Looks good to me, approved Jenkins Builder: Verified
diff --git a/library/PIPEasp_Templates.ttcn b/library/PIPEasp_Templates.ttcn index 738bf57..f024b4a 100644 --- a/library/PIPEasp_Templates.ttcn +++ b/library/PIPEasp_Templates.ttcn @@ -84,7 +84,7 @@ charstring progname) { timer t_flush := 0.5;
- pt.send(ts_PExecute("pkill -f " & progname, "")) + pt.send(ts_PExecute("pkill -x " & progname, ""))
t_flush.start; alt {