shellcheck SC2162 - https://github.com/koalaman/shellcheck/wiki/SC2162
This commit is contained in:
parent
096bb37f05
commit
573e1ec66f
1 changed files with 1 additions and 1 deletions
2
push.sh
2
push.sh
|
@ -10,7 +10,7 @@ fi
|
|||
|
||||
while true; do
|
||||
if [ -c "$DEV" ]; then
|
||||
read state < "$DEV"
|
||||
read -r state < "$DEV"
|
||||
case "$state" in
|
||||
ON|HALF|OFF)
|
||||
run-parts --arg="$state" "$DIR"
|
||||
|
|
Reference in a new issue