From 57d3c9e726e04c3b68ca38cdc1f562a0862f8364 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 4 Mar 2017 17:31:28 +0000 Subject: [PATCH] never do it without --- light.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/light.sh b/light.sh index fe2fc5b..c6a7e37 100755 --- a/light.sh +++ b/light.sh @@ -47,8 +47,8 @@ case "$ROOM_NUMBER" in PID_FILES="$( find "$(dirname "$TMPFILE_PID_BASE")" -name "$(basename "${TMPFILE_PID_BASE}_1_*")" )" if ! [ -z "$PID_FILES" ]; then for i in "$PID_FILES"; do - kill "$( cat $i )" - rm -f $i + kill "$( cat "$i" )" + rm -f "$i" done fi COLOR_A="$(echo "$STATE" | cut -d";" -f1 | cut -d"|" -f1)"