jolly has uploaded this change for review.
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(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/98/43498/1
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 {
To view, visit change 43498. To unsubscribe, or for help writing mail filters, visit settings.