path: root/src/osmo_gsm_tester/
diff options
authorPau Espin Pedrol <>2019-04-03 17:10:31 +0200
committerPau Espin Pedrol <>2019-04-03 17:10:33 +0200
commit17a4ed9029421bde84042d8e37d78a9ca043ca26 (patch)
treec25142ba5e70232e1b01406baa1f3e8b54ca2061 /src/osmo_gsm_tester/
parent9e2ef07e04176c6709b60d8a72ab799610359fd3 (diff)
process: add signal to NetNSProcess kill path
This allows to easily differentiate different calls to kill in order to terminate the process when looking at the logs. Change-Id: Ida88f2674b0ed1802f20c519aa4e3cbe81e0def8
Diffstat (limited to 'src/osmo_gsm_tester/')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo_gsm_tester/ b/src/osmo_gsm_tester/
index a104e10..7ecb67e 100644
--- a/src/osmo_gsm_tester/
+++ b/src/osmo_gsm_tester/
@@ -364,7 +364,7 @@ class NetNSProcess(Process):
# This function is overwritten from Process.
def send_signal(self, sig):
kill_cmd = ('kill', '-%d' % int(sig), str(
- run_local_netns_sync(self.run_dir,"-kill", self.netns, kill_cmd)
+ run_local_netns_sync(self.run_dir,"-kill"+str(sig), self.netns, kill_cmd)
def run_local_sync(run_dir, name, popen_args):