summaryrefslogtreecommitdiff
path: root/yarns/900-implements.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-09-24 18:55:26 +0300
committerLars Wirzenius <liw@liw.fi>2017-09-24 18:55:26 +0300
commit65085ff9e22a6ba00505cabc985afb573636daa1 (patch)
tree4b494c7a5e43f26f81d116e6084c9db2900e7465 /yarns/900-implements.yarn
parent5d1ea36d455a210400a954830e9a0e350937b257 (diff)
downloadick2-65085ff9e22a6ba00505cabc985afb573636daa1.tar.gz
Fix: give os.kill pid as an integer
Diffstat (limited to 'yarns/900-implements.yarn')
-rw-r--r--yarns/900-implements.yarn2
1 files changed, 1 insertions, 1 deletions
diff --git a/yarns/900-implements.yarn b/yarns/900-implements.yarn
index 9e5732a..0a0818c 100644
--- a/yarns/900-implements.yarn
+++ b/yarns/900-implements.yarn
@@ -84,7 +84,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
IMPLEMENTS WHEN user stops ick controller
import os, signal
- os.kill(vars['pid'], signal.SIGTERM)
+ os.kill(int(vars['pid']), signal.SIGTERM)
IMPLEMENTS FINALLY stop ick controller
import os, signal