X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=osm_openvim%2Fhost_thread.py;h=78be1c93965d3d4de502dfbd8ecece530d1abe3b;hb=refs%2Ftags%2Fv3.0.0rc15;hp=18a2eab5b7b743843f47c0910b7cb9a1f283dd63;hpb=0ec17ecbd0aa7c6ac8d8b07f9886e0eec1128f09;p=osm%2Fopenvim.git diff --git a/osm_openvim/host_thread.py b/osm_openvim/host_thread.py index 18a2eab..78be1c9 100644 --- a/osm_openvim/host_thread.py +++ b/osm_openvim/host_thread.py @@ -842,7 +842,7 @@ class host_thread(threading.Thread): command = 'sudo ip netns exec {} cat {}'.format(dhcp_namespace, pid_file) content = self.run_command(command, ignore_exit_status=True) dns_pid = content.replace('\n', '') - command = 'sudo ip netns exec {} kill -9 '.format(dhcp_namespace, dns_pid) + command = 'sudo ip netns exec {} kill -9 {}'.format(dhcp_namespace, dns_pid) self.run_command(command, ignore_exit_status=True) except RunCommandException as e: