From 9bb63160cc48111b0a57acaed85956cb9b82c59d Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 27 May 2018 04:33:08 +0200 Subject: stop a running process, if you have the uuid --- app/relay/remote.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/relay/remote.js') diff --git a/app/relay/remote.js b/app/relay/remote.js index 5979c68..c66929a 100644 --- a/app/relay/remote.js +++ b/app/relay/remote.js @@ -46,8 +46,7 @@ remote.on('task', (data) => { response = runner.run_task(data.task, data.preempt, data.watch) break case 'stop': - break - case 'kill': + response = runner.stop_task(data.task) break case 'add': break -- cgit v1.2.3-70-g09d2