Browse Source

[213] Fix killing of components

It was on the wrong object.
Michal 'vorner' Vaner 13 years ago
parent
commit
5d38929255
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/lib/python/isc/bind10/component.py

+ 2 - 2
src/lib/python/isc/bind10/component.py

@@ -281,9 +281,9 @@ class Component:
         """
         if self._procinfo:
             if forcefull:
-                self._procinfo.kill()
+                self._procinfo.process.kill()
             else:
-                self._procinfo.terminate()
+                self._procinfo.process.terminate()
 
 class Configurator:
     """