summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tsak/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tsak/main.cpp b/tsak/main.cpp
index cf75f957f..726f779fa 100644
--- a/tsak/main.cpp
+++ b/tsak/main.cpp
@@ -375,7 +375,7 @@ void restart_tsak()
if (child_pids[i] != 0) {
kill(child_pids[i], SIGKILL);
}
- if (child_pids[i] != 0) {
+ if (child_led_pids[i] != 0) {
kill(child_led_pids[i], SIGKILL);
}
}