From 3deab088fac1afcac2508783ba1d3740aae0f09b Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Thu, 12 Dec 2019 10:27:59 -0500 Subject: [PATCH] stop killing random processes that happen to include LED in their invocation --- usr/bin/LED | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/bin/LED b/usr/bin/LED index b20a51a..1094f5c 100755 --- a/usr/bin/LED +++ b/usr/bin/LED @@ -239,5 +239,5 @@ Examples: EOF } -ps | grep LED | grep -v grep | awk '{print $1}' | grep -v $$ | xargs kill -9 &> /dev/null +pkill -9 LED &> /dev/null run_led $@ || show_usage